Crate of the Week

serde-query: An efficient query language for Serde:

  • Efficient. You can extract only the target parts from a potentially large document with a jq-like syntax. It works like a streaming parser and touches only a minimal amount of elements.
  • Flexible. serde-query can work with any serde-compatible formats.
  • Zero-cost. The traversal structure is encoded as types in compile time.
11 Likes

cucumber-rust: An implementation of the Cucumber testing framework for Rust. Fully native, no external test runners or dependencies.

3 Likes

gitoxide: An idiomatic, modern, lean, fast, safe & pure rust implementation of git

16 Likes

ultraviolet: A wide linear algebra crate for games and graphics.

3 Likes

Seconded. gitoxide is incredible work, and it'd be nice to get people aware of it while it's still early, to help drive use cases and get contributors.

3 Likes

This looks really nice!

2 Likes

Nominating arrayref, which instantly solved a tedious and annoying problem (turning &[T; 16] into (&[T; 8], &[T; 8])) that was holding me up the other day. Tiny crates are the best.

This package contains just four macros, which enable the creation of array references to portions of arrays or slices (or things that can be sliced).

2 Likes

Some people have asked for s.th. similar in the past.
1 Like

This one looks handy!
1 Like

A library for setting up Rust objects inspired by factory_bot.

crates: https://crates.io/crates/beaver
docs: http://docs.rs/beaver

1 Like