Not sure if this has been featured before:
For concatenating idents!
From the readme: "A user-friendly PDF generator written in pure Rust."
That's from the official unicode consortium!
That definitely gives me some ideas for the time crate! The formatting is (unsurprisingly) based on the Unicode standard, bit it is something to look at.
An alternative to derive-builder
0.1 release was just announced: https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.1
Online demo can be found here:
Allows applications to better declare their intentions programmatically for harder-to-abuse interfaces.
Vec but with strongly typed indices, e.g. instead of
Vec<CpuUsage> // Indexed by CPU core you can do
TiVec<CpuCoreId, CpuUsage>. It prevents accidentally using the wrong index type, which is a common source of bugs.
Despite how useful it is (and IMO should be in std), it has 0 stars and only 300 downloads.
Rustc uses something similar: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_index/vec/struct.IndexVec.html
Somehow this has never been suggested (or I didn't find it ). A neural network inference library, written purely in Rust for models in ONNX, NNEF and TF formats. Very extensive support for many different operators and comparable speed to the onnxruntime Python package.
Also compiles to WebAssembly and has JS bindings (https://github.com/bminixhofer/tractjs).
IMO the most important crate for working with Neural Networks in Rust. Support for inference of other ML models such as Decision Trees is also coming up.
This isn't exact a crate... it's more of a research prototype:
The accompanying paper is here (free): https://www.usenix.org/conference/osdi20/presentation/boos
I found it quite elegant, as I've struggled with how to use idiomatic rust in the weird environment of OS kernels before.
(For those who don't know, OSDI/SOSP is the premier venue for publishing systems papers.)
Puffin: A simple instrumentation profiler for Rust - by the awesome people at Embark.
RustScan: a modern port scanner written in Rust:
Finally: Postfix Macros in stable Rust (still experimental)!