Crate of the Week


bus: like channels, but a message will be sent to every consumer, not just one.

1 Like

doc-comment: macros to help keeping documentation up-to-date (and to test your README examples!).

1 Like

select-rustc: provides macros for conditional compilation according to rustc compiler version analogous to #[cfg(...)] and #[cfg_attr(...)] . Example #[rustc::stable(1.34)]


copyless avoid the memcpy in a Box::new(foo). Super useful, especially if box foo syntax is removed.


ramhorns renders Mustache templates in runtime.

It comes with a derive macro which allows for templates to be rendered from native Rust data structures without doing temporary allocations, intermediate HashMaps or what have you.

With a touch of magic :tophat:, the power of friendship :clinking_glasses:, and a sparkle of FNV hashing :sparkles:, render times easily compete with static template engines like Askama.

What else do you want, a sticker?

1 Like

unstructured provides types for usage with unstructured data.

1 Like

lolcate-rs: A comically fast way of indexing and querying your filesystem

1 Like

shrinkwraprs: Auto-derive for Rust conversion traits – make working with newtypes a breeze


rayon_croissant: This crate offers a new parallel iterator adapter which allows you to mapfold an iterator and reduce the result of the folds into a given mutable reference


“Easy and safe library for overriding stdout / stderr / stdin with any file/socket while using rust memory management to guard the change” stdio-override

#539 A blazing fast, type-safe template engine for Rust


i nominate web-view:

It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux and MSHTML (IE10/11) on Windows, so your app will be much leaner than with Electron.

I tried it this week for a little tool that needs to have a GUI. Web-view was straightforward to use, it has example code available and is lightweight.


micromath: Embedded Rust arithmetic, 2D/3D vector, and statistics library


trybuild: compile failure tests

Trybuild is a test harness for invoking rustc on a set of test cases and asserting that any resulting error messages are the ones intended.


ifmt: A small crate which brings inline string interpolation to rust’s standard formatting macros.

let four = 4;
iprintln!("four plus four is: {four + 4}");

panic-never: This crate guarantees that your application is free of panicking branches.


raqote: A pure Rust 2D Graphics Library


Sundial: An implementation of the iCalendar spec RRules specification


momo is a proc_macro that helps keeping generic code lean by pushing all but the usual conversions into an inner method, reducing both compile times and binary size.

1 Like

cargo-web: makes it easy and convenient to build, develop and deploy client-side Web applications written in Rust.