Crate of the Week

Can I nominate my own crate? task_yield, it yields the current asynchronous task without caring about the executor, i.e. for use in other executor-independent code

I'll nominate myself, since I've seen that there haven't been any nominations for this week.

It's a crate designed to read each component of a magnet url, and return a Magnet struct with each component part, which would be useful for torrent clients and libraries.

Brilliant nerd joke. I love that the author loved Rust pattern matching so much that a version of it made it into the language. I also think it is a useful crate to look at if you want to learn how to write an interpreter, especially because the tokens aren't the normal characters or words you expect.

1 Like

It's my own crate, but I think gha-runner is interesting: run Github Actions workflows locally.

1 Like

Listenfd: allows receiving a persistent socket from systemd or cargo-watch, which enables servers to implement zero downtime restarts.


Self-nominating Roogle, a Rust API search engine inspired by Hoogle. You can try it on


You may like this crate if you want to make more things const.


use const_str::format as const_format;
const PROMPT: &str = "The answer is";
const ANSWER: usize = 42;
const MESSAGE: &str = const_format!("{PROMPT} {ANSWER}");
use const_str::convert_ascii_case;
const S: &str = convert_ascii_case!(camel, "camel case");
assert_eq!(S, "CamelCase");
use const_str::hex_bytes as hex;

const S: &str = "00010203 04050607 08090a0b 0c0d0e0f";

const B1: &[u8] = &hex!(S1);

const B2: &[u8] = &hex!([
    "00010203 04050607", // first half
    "08090a0b 0c0d0e0f", // second half

assert_eq!(B1, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]);
assert_eq!(B2, B1);
use regex::Regex;
let re = const_str::verified_regex!(r"^\d{4}-\d{2}-\d{2}$");

Nominating ouch, a CLI tool for compression and decompression that heavily focuses on easy of usage.

1 Like

Nominating chumsky - A friendly parser combinator crate - by @zesterer :heart:

What really stands out for me are the "powerful error recovery strategies" - parser combinators are not usually known for their good error reporting capabilities.

...and these errors look beautifuuuuul! :heart_eyes: :smiling_face_with_three_hearts:


Nominating pg-embed

Pretty neat! It's about 10MB as opposed to a few hundred kb, but postgres does have a lot more features.

Since I've seen multiple people nominating their 'own' crate, I would like to nominate it's not exciting, and just does one thing, which is to use schema registry in the same way Java does. Which does make it possible to have services in Rust, running close to services in Java, with ease, sharing the same messages.
Which is, I think, a bit exciting. Still haven't been able to use it myself in production, but it's used and has 24k downloads now.

Now that it's reached v1.0.0, I would like to nominate starship, the richly customizable, context-aware, cross-shell prompt.



Nominating cargo-cache, a small tool to gather stats on and clear/manage cargos download cache.


I'd also like to nominate my own crate, fuzzcheck. It is a structure aware and coverage-guided fuzzer :slight_smile:


I'd like to nominate rustc_codegen_nvvm, a rustc codegen backend that targets the libnvvm CUDA library. It's part of the larger Rust-CUDA project, whose goal is to make Rust a tier-1 language for extremely fast GPU computing using the CUDA Toolkit, and which just saw its initial release.


I'd like to nominate tap, I saw it recommended in a Reddit thread and I was really impressed.

But it's already been recommended this year!


That's fine, you can re-nominate crates that didn't make it.

Trying again and renominating cargo-cache, a small tool to gather stats on and clear/manage cargos download cache. :upside_down_face:


I'd like to nominate the efg crate which replaces the function-style syntax of the #[cfg()] macro with the syntax of boolean expressions.

(Example from the

#[efg(feature "proc-macro" && !(target_arch "wasm32" && target_os "unknown"))]
extern crate proc_macro;

Gomez for solving nonlinear equations.