Crate of the Week


#436

Automatically generating railroad diagrams for syntax used in Rust macros:

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


#437

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


#438

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


#439

This is absolutely fantastic!

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


#440

I’m going to nominate https://github.com/RustPython/RustPython . 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.


#441

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


#442

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


#443

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


#444

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


#445

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


#446

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


#447

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.


#448

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).


#449

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


#450

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!


#451

failsafe (reddit thread) - Wrap function in a supervisor that prohibits execution (returns error early) for some time in case of consequtive failures of the wrapped function.


#452

I was just told about cargo-src.


#453

mdproof: “A standalone markdown to PDF converter”


#454

mtpng: "A parallelized PNG encoder in Rust "


#455

smallbox: Small Box optimization: store small item on the stack and fallback to heap for large item.