Crate of the Week

markup.rs: A blazing fast, type-safe template engine for Rust

1 Like

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.

7 Likes

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.

4 Likes

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}");
4 Likes

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

7 Likes

raqote: A pure Rust 2D Graphics Library

3 Likes

Sundial: An implementation of the iCalendar spec RRules specification

1 Like

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.

4 Likes

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

1 Like

nokia/memory-profiler: A memory profiler for Linux with lots of features.

5 Likes

mockiato: A strict, yet friendly mocking library for Rust 2018

8 Likes

plotters: Another Rust Plotting Library

4 Likes

toast: Containerize your development environment

calcify: Physics vector library

cargo-play: Running your Rust code file without manually setting up a Cargo project.

Good for faster prototyping alternative than cargo-edit.

4 Likes

vecmerge: A macro for merging vectors

rust-powerset-enum: A poor man’s anonymous enum, useful mostly for error handling

shell_completion: Write shell completion scripts in pure Rust

j4rs: Java for Rust and allows effortless calls to Java code, from Rust.