常用crate

搜集一些rust开发中常用的crates

actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

serde - Serde is a framework for serializing and deserializing Rust data structures efficiently and generically.

tera - Tera is a template engine inspired by Jinja2 and the Django template language.

validator - Macros 1.1 custom derive to simplify struct validation inspired by marshmallow and Django validators.

lettre - A mailer library for Rust.

diesel - A safe, extensible ORM and Query Builder for Rust.

reqwest - An ergonomic, batteries-included HTTP Client for Rust.

chrono - Chrono aims to provide all functionality needed to do correct operations on dates and times.

rust-embed - Rust Custom Derive Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.

tracing - Application-level tracing for Rust.

thiserror - This library provides a convenient derive macro for the standard library's std::error::Error trait.

anyhow - This library provides anyhow::Error, a trait object based error type for easy idiomatic error handling in Rust applications.

dotenv - This library is meant to be used on development or testing environments in which setting environment variables is not practical.

clap - Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.

indicatif - A Rust library for indicating progress in command line applications to users.

tokio - A runtime for writing reliable, asynchronous, and slim applications with the Rust programming language.

async-trait - The initial round of stabilizations for the async/await language feature in Rust 1.39 did not include support for async fn in traits.

snafu - SNAFU is a library to easily assign underlying errors into domain-specific errors while adding context.

difference - A Rust text diffing library with built-in diffing assertion.

diff - An LCS based slice and string diffing implementation.

mlua - mlua is bindings to Lua programming language for Rust with a goal to provide safe (as far as it's possible), high level, easy to use, practical and flexible API.

cross - “Zero setup” cross compilation and “cross testing” of Rust crates.


/rust/ /crate/