Crate of the Week

I would like to self-nominate axum-autoroute.
It's a crate that we built and use in my company and that we recently decided to publish (see the recent announcement post: New crate: axum-autoroute ).

The goal of this crate is to ease the writing of OpenAPI documentation in the code for HTTP route handlers, for example by:

  • Avoiding to type the HTTP method or the handler path multiple times
  • Enforce that the HTTP responses returned by the HTTP handler are always documented

It is based on axum and utoipa.

I'd like to submit a new crate:

Charton โ€” an Altair-style declarative plotting library for Rust.

Highlights:

  • Native Polars DataFrame support
  • Declarative grammar inspired by Altair
  • Pure-Rust SVG output
  • Works in evcxr / Jupyter notebooks
  • Designed with Wasm support in mind

Charton github

Charton Crates.io

downcast-rs. It generates implementation code for a Trait: Any to allow downcasting from dyn Trait (where the standard library only supports downcasting from dyn Any, apart from trait upcasting (dyn Trait โ†’ dyn Any) in edition 2024, which has limitations).

The typle crate provides the ability to constrain generic arguments to be tuples and supports manipulation of the tuple components.

Personally I found it has quite a few useful features for tuples related code

diesel-guard catches dangerous Postgres migrations before they take down production.

โœ“ Detects operations that lock tables or cause downtime
โœ“ Provides safe alternatives for each blocking operation
โœ“ Works with both Diesel and SQLx migration frameworks
โœ“ Supports safety-assured blocks for verified operations

I'd like to nominate figura, a lightweight, fast and flexible templating engine by Saverio Scagnoli.

  • small
  • efficient
  • many features
  • easy to use
  • very well written
  • very well documented
  • actively maintained

I'd like to nominate throttled-tracing
Still puzzled something like this didn't exist yet (except for the -once variation)

I'd like to nominate teremock
Te legram ยท Re alistic ยท Mock ing โ€” A fast, ergonomic testing library for teloxide bots.

I'd like to self-nominate dynamo-crud.

A type-safe, ergonomic interface for performing CRUD operations on AWS DynamoDB tables to avoid wrestling with attribute values or expression strings: just clean, composable code that catches errors at compile time.

I'd like to self nominate vortex

A fast, pure io_uring based BitTorrent library and TUI built from the ground up to maximize performance on modern Linux kernels and hardware.

EDIT: If it's forbidden or unclear that the link references two crates I'd prefer if the "vortex-bittorrent" crate is used instead of the TUI

I'd like to nominate anyhow.

Let me just say: one never truly understands the relief provided by error context and simple propagation until one really needs it!

I spent days trying to reinvent the wheel, so to speak, by creating my own buggy little error handler, then I discovered anyhow. Lifesaver!

Is there a problem with your link? It's not clickable

I'd like to nominate try-rs.

try-rs is a Rust-based workspace manager CLI with a TUI that helps developers organize, navigate, and manage temporary experiments and throwaway projects.

It provides a structured way to create and revisit short-lived workspaces, reducing friction during prototyping, exploration, and learning, while keeping experiments discoverable and easy to clean up.

The tool is designed to improve developer productivity by making experimentation a first-class workflow instead of an ad-hoc process.

https://crates.io/crates/try-rs

I nominate Legalis-RS.

It is a cross-jurisdictional framework (covering US, EU, Japan, etc.) that models global legal systems as strict Rust types. What makes it truly unique is that it treats law as a computational entity, integrating OxiZ (a Pure Rust port of the Z3 solver) to formally verify legal logic without any C++ dependencies.

GitHub:

I'd like to nominate GitHub - getzola/giallo: Syntax highlighter, same output as VSCode

This is a well-crafted syntax highlighter compatible with VSCode, and it helps me a lot when building my own static-site generator on GitHub - eure-lang/blog.eure.dev.

Thanks for letting me know. It should be fine now.

Ooh, cool! I wanted one of these in Rust. :smiley:

Hi,

Self nominating crates.io: Rust Package Registry

MCP is the protocol agents use to talk to external tools. I wanted to build MCP servers the
same way I build web services - tower middleware, .layer()s, and axum-style extractors.

So I built this.

  • Your existing tower middleware just works - timeout, rate-limit, tracing, etc.
  • Feels like axum if you've used axum (State, Json, Context extractors, router composition)
  • stdio, HTTP, or WebSocket from the same server code
  • Runs the official conformance tests in CI (39/39 passing, feels good)
  let tool = ToolBuilder::new("greet")
      .handler(|input: GreetInput| async move {
          Ok(CallToolResult::text(format!("Hello, {}!", input.name)))
      })
      .layer(TimeoutLayer::new(Duration::from_secs(30)))
      .build()?;

Lots of good docs and examples including a fly.io deployed crates.io MCP server that wraps the crates.io REST API and a codegen MCP server that lets you MCP while you MCP.

of the week or no, if you're doing this kind of stuff too, check it out. Contributions, bug reports, etc. very welcome. Its a wild time right now.

Recent (Today's) 0.1.3 -- Perfect Z3 Parity (100%) - All Tested Logics. Please check it out! (and nominate if you liked it! :slight_smile:

Nominating Michael Mileusnich's NetFlow parser GitHub - mikemiles-dev/netflow_parser: netflow_parser and crates.io: Rust Package Registry