Crate of the Week

bobbin-sdk is a butiful library for embedded development (CortexM devices)

1 Like

tower-web: "A fast, boilerplate free, web framework for Rust "
Blog post: "Tower Web — A new web framework for Rust"

3 Likes

joinery: "A Rust library for generically joining iterables with a separator"

flexi_logger: a better env_logger. Just as simple, but you can easily write to a file, and you don't need to use set_env if you want to control logging level from within the application.

Logger::with_env_or_str("myprog=debug, mylib=warn")
            .log_to_file()
            .start()?;
6 Likes

prettysize-rs: "A comprehensive file size crate for rust applications, meant to be light and effective. Includes utilities for human-readable formatting of file sizes as well as converting between different base-two and base-ten size units."

2 Likes

Automatically generating railroad diagrams for syntax used in Rust macros:

https://github.com/lukaslueg/macro_railroad

IMHO it's fantastic idea — that's how macros should be documented!

20 Likes

jRust - A Rust macro that parses Java-like syntax and runs it as a Rust program.

wasm-bindgen-futures - Seamlessly converting between JavaScript Promises and Rust Futures.

3 Likes

This is absolutely fantastic!

It even has an online demo:
https://lukaslueg.github.io/macro_railroad_wasm_demo/

1 Like

I'm going to nominate GitHub - RustPython/RustPython: A Python Interpreter written in Rust . It's far from complete, but they've consolidated behind one implementation. Looks like there's plenty of easy starting places for people to pitch in and help.

4 Likes

Can I propose https://github.com/Kerollmops/sdset too ? for the next week ? :slight_smile:

1 Like

Hey, I'd like to propose my linux desktop theme manager if that's ok. It's not hugely technologically complicated(except perhaps for the online features), but I think it's a good example of an userspace application that benefits from being written in Rust. https://github.com/nicohman/raven

1 Like

@Kero, @nicohman:
Yes sure, you can propose any crate that you want.

easy_reader: "Move forward, backward or randomly through the lines of huge files. Easily and fastly."

1 Like

slotmap: "A Rust library providing two containers with persistent unique keys to access stored values". Good for game entities or graph nodes.

2 Likes

froggy: "Froggy is a prototype for Component Graph System". Also good for game entities.

1 Like

generational-arena: "A safe arena allocator that allows deletion without suffering from the ABA problem by using generational indices." Again this is good for game entities or graph nodes.

4 Likes

spin-sleep: providing a very accurate sleep() function as well as a LoopHelper which is really handy. The author puts quite some effort into measuring a lot on different platforms (see here).

2 Likes

Crate of the week suggestion: https://crates.io/crates/cargo-lichking . Attempts to summarize licenses of crates you depend on.

3 Likes

cgroups: "Native Rust library for managing control groups under Linux".

I'm nominating this because it unlocks the ability to start writing lightweight Docker-like libraries in Rust for Linux!

5 Likes