Small Box optimization: store small item on the stack and fallback to heap for large item. Faster memory allocation than
The packed_simd crate has been working towards bringing an implementation of portable SIMD, fit for inclusion in the standard library.
I’m sure this has been nominated before, but just in case, I would like to nominate
crossbeam for its large suite of high quality concurrency primitives.
(Fun fact: Discourse warns us of such things when we try to include a previously posted URL)
This is a long time, but my personal feeling is still that a crate should have recently done something noteworthy (milestone release, big new feature, etc.) to have a second chance at the spotlight.
Crossbeam feels so foundational, and so stable, these days (a massive compliment! ) that I wonder if it qualifies as needing “more attention”
I’d like to nominate pest, the elegant parser for CotW.
pest is a general purpose parser written in Rust with a focus on accessibility , correctness , and performance . It uses parsing expression grammars (or PEG) as input, which are similar in spirit to regular expressions, but which offer the enhanced expressivity needed to parse complex languages.
(Disclaimer: I contributed greatly towards the end of the 2.0 development cycle.)
Cntr, a way to add in tools to a container after its built to debug it:
Noria announced on Reddit this week:
A rusty disk usage tool: cargo install dutree
Parse Wiki Text – Parse wiki text from Mediawiki into a tree of elements
A CLI tool that displays information about your project directly on your terminal.
I’d like to nominate webpacker-rs which brings Rust much closer for Are We Web Yet by making Node’s Webpack available in Rust and takes advantage of the convenient configuration Rails has with integrating Webpacker as well.
Using CSS, SASS, CoffeeScript, React, VueJS, and any other similar web assets that need pre-compiling, packing, managing, and cache invalidation has become nearly as easy as drag and drop (drop a file into the webpack loaders directory and load it from the main
A CLI tool for keeping your target directory clean of old build files without affecting build performance https://github.com/holmgr/cargo-sweep
It’s an ls command with some cool features like the icons, the tree format or the based on the files metadata (if it’s a big file / old file/ etc).
YaSerDe an improved XML parser/writer (with full features).
It’s compatible with SerDe to convert models into other formats.
Sandspiel, a falling sand game built in Rust+WebGL. It’s not a crate but it’s worth showcasing.