Yep.
Nominating ruut
as talked about in the Rustconf talk.
Macro that enables working with enum
s like a range of numbers, allowing getting min/max or previous/next variants of an enum.
After a long refactoring the pdf crate just had its 0.7 release.
We managed to get popular enough to get copyright attacks by Adobe!
CraftQL - A CLI tool to manipulate GraphQL schemas and to output a graph data structure as a graphviz .dot format
cached: Allows you to create "memoized" functions, which apparently means their results are cached based on their inputs.
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.
cucumber-rust: An implementation of the Cucumber testing framework for Rust. Fully native, no external test runners or dependencies.
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.
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).
https://github.com/Kushagra-0801/fn-compose
Some people have asked for s.th. similar in the past.
A library for setting up Rust objects inspired by factory_bot.
https://github.com/TaKO8Ki/beaver
crates: https://crates.io/crates/beaver
docs: beaver - Rust
Nominating cargo-about
, because it lets you create the file you're legally obliged to ship with your executable according to most licenses' text. Also, it checks crates against your list of approved licenses. Where there's a choice of license, it only includes the license you've approved. By default it generates HTML, but with some fiddling about with the about.hbs
it can produce nice plain text output too. Saved me a lot of time.
Nominating fs-err
.
When you use std::fs
, you may get very unhelpful errors like
The system cannot find the file specified. (os error 2)
that don't show the path of the file on which the error occured.
fs-err
wraps the functions in std::fs
and adds the path information to the error while staying compatible with std::io::Error
.
Saved me the pain of adding the error context myself everywhere.