Crate of the Week

https://crates.io/crates/tinyvec
https://docs.rs/tinyvec/0.3.1/tinyvec/

5 Likes

Rather literally, THAT'S AWESOME!

Kind of writing Rust in a vacuum here so seeing some of the code examples is a great help.

https://crates.io/crates/bitmatch

5 Likes

OpenAPI support for the Warp web framework:

1 Like

Parametrized tests:

https://crates.io/crates/test-case

11 Likes

Rust Music Theory - A music theory guide written in Rust.

2 Likes

RustQIP - Quantum Computing library leveraging graph building to build efficient quantum circuit simulations.

faux - Traitless Mocking Library for Rust.

6 Likes

get-port: A convenient way to get an available port on the system.

1 Like

nestur - an NES emulator.

1 Like

Argh - an opinionated Derive-based argument parser optimized for code size.

6 Likes

Pueue - manage your shell commands. Now rewritten in Rust.

2 Likes

yaiouom: Prototype extension of the Rust type system towards checking units-of-measure

1 Like

caretaker: A simple, configurable filesystem watcher written in Rust

1 Like

ytop: A TUI system monitor written in Rust

3 Likes

oreboot - a downstream fork of coreboot, i.e. oreboot is coreboot without 'c'.

5 Likes

Very easy macro to turn stateful loops and async requests into a Stream.

stream! {
    while let Some(item) = next().await {
       yield item;
    }
}
10 Likes

inlineable_string: An owned, grow-able UTF-8 string that stores small strings inline and avoids heap-allocation.

2 Likes

static_assertions: A crate that allows you to make assertions at compile time:

    const DATA: &str = include_str!("path/to/string.txt");
    const_assert!(DATA.len() < 512);
8 Likes

I almost hesitate to recommend this because it wants some (lots) more development but I'm kind of in awe of the work done so far in valid. Maybe with some more love and/or a fork it could be great!

1 Like