Crate of the Week

robotstxt: a native Rust port of Google's robots.txt parser and matcher C++ library.

  • Native Rust port, no third-part crate dependency
  • Preserves all behavior of original library
  • Consistent API with the original library
  • 100% google original test passed
7 Likes

JQL - A JSON Query Language CLI tool.

3 Likes

A faster tig:


(The only down side is it's an impossible project name to search for!)
2 Likes

cargo-spellcheck - spell & grammar checking for documentation comments

rpm-rs - a full rpm parser and synthesizer in rust (not a binding!)

2 Likes

Little traction so far but very useful when prototyping.
2 Likes

Helps decrease compile times for projects that need to include strings or bytes from files at compile time.

1 Like

Write safer FFI code in Rust without polluting it with unsafe code

6 Likes

is a disk space navigator for the terminal (written in Rust, of course :slight_smile: ). (full disclosure: I am the author)

12 Likes

k9 - Rust Testing Library

2 Likes

A program that simulates the behavior of bodies that attract each other in real-time using wgpu.

1 Like

print_bytes allows printing broken UTF-8 bytes to an output stream as losslessly as possible. Now, it can even print OsStr losslessly on Unix and Windows (when writing to Windows Console).

2 Likes

Async DoubleCheckedCell helps avoid race conditions when a program needs to initialize data asynchronously and lazily.

2 Likes

SuckIT allows you to recursively visit and download a website's content to your disk.
Much faster than tools like HTTrack.

8 Likes

stdext is a crate with minor additional features for std. It is designed to be more agile in terms of getting a new std feature to your codebase, and less strict in terms of added features.

2 Likes

The assert_equal macro looks very useful. Checking the difference between structs is indeed painful with the standard assert_eq.

2 Likes
4 Likes

I nominate nnnoiseless, a port of Xiph's RNNoise (written in C) to safe Rust. The release was accompanied by a blog post by the author, where they explain some of the porting process as well as subsequent performance optimizations that lead to the port overtaking the original C version in their benchmark. There has been a discussion on the subreddit.

7 Likes

Another audio related blog post:

https://coaxion.net/blog/2020/07/live-loudness-normalization-in-gstreamer-experiences-with-porting-a-c-audio-filter-to-rust/

1 Like

pre - Helper for compile-time checking some aspects of unsafe functions.

2 Likes

sophia a Rust toolkit for RDF and Linked Data.

1 Like