snafu: Easily assign underlying errors into domain-specific errors while adding context
doc-comment: macros to help keeping documentation up-to-date (and to test your README
examples!).
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 , the power of friendship , and a sparkle of FNV hashing , render times easily compete with static template engines like Askama.
What else do you want, a sticker?
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
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.
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}");