2022-03-13 21:43:04 +00:00
{
"crate_groups" : [
2022-11-09 13:17:22 +00:00
{
"slug" : "tooling" ,
"name" : "Tooling" ,
"description" : "Developer tools for working with Rust projects." ,
"subgroups" : [ ] ,
"purposes" : [
2022-11-09 16:55:21 +00:00
{
"name" : "Toolchain Management" ,
"recommendations" : [ {
"name" : "rustup" ,
"link" : "https://rustup.rs" ,
"notes" : "Install, manage, and upgrade versions of rustc, cargo, clippy, rustfmt and more."
} ]
} ,
2022-11-09 14:04:49 +00:00
{
"name" : "Linting" ,
"recommendations" : [ {
"name" : "clippy" ,
"link" : "https://github.com/rust-lang/rust-clippy#usage" ,
"notes" : "The official Rust linter."
} ]
} ,
2022-11-09 14:14:10 +00:00
{
"name" : "Code Formatting" ,
"recommendations" : [ {
"name" : "rustfmt" ,
"link" : "https://github.com/rust-lang/rustfmt#rustfmt----" ,
"notes" : "The official Rust code formatter."
} ]
} ,
2022-11-09 16:53:18 +00:00
{
"name" : "Cross Compilation" ,
"recommendations" : [ {
"name" : "cross" ,
"link" : "https://github.com/cross-rs/cross#cross" ,
"notes" : "Seamless cross-compiling using Docker containers."
} ]
} ,
2022-11-09 13:17:22 +00:00
{
"name" : "Managing Dependencies" ,
"recommendations" : [ {
"name" : "cargo-edit" ,
2022-11-09 14:04:42 +00:00
"link" : "https://github.com/killercup/cargo-edit" ,
2023-01-03 00:53:57 +00:00
"notes" : "Adds 'cargo upgrade' and 'cargo set-version' commands to cargo"
2022-11-09 13:17:22 +00:00
} , {
"name" : "cargo-outdated" ,
2022-11-09 14:04:42 +00:00
"link" : "https://github.com/kbknapp/cargo-outdated#cargo-outdated" ,
2022-11-09 13:17:22 +00:00
"notes" : "Finds dependencies that have available updates"
} , {
2022-11-09 16:20:22 +00:00
"name" : "cargo-audit" ,
"link" : "https://github.com/RustSec/rustsec/tree/main/cargo-audit#rustsec-cargo-audit" ,
"notes" : "Check dependencies for reported security vulnerabilities"
} , {
2022-11-09 13:17:22 +00:00
"name" : "cargo-license" ,
2022-11-09 14:04:42 +00:00
"link" : "https://github.com/onur/cargo-license#cargo-license" ,
2022-11-09 13:17:22 +00:00
"notes" : "Lists licenses of all dependencies"
2022-11-09 16:53:18 +00:00
} , {
"name" : "cargo-deny" ,
"link" : "https://github.com/EmbarkStudios/cargo-deny#-cargo-deny" ,
"notes" : "Enforce policies on your code and dependencies."
2022-11-09 13:17:22 +00:00
} ]
} ,
{
"name" : "Testing" ,
"recommendations" : [ {
"name" : "cargo-nextest" ,
2022-11-09 14:04:42 +00:00
"link" : "https://nexte.st" ,
2022-11-09 13:17:22 +00:00
"notes" : "Faster, better test runner"
} ]
} ,
{
"name" : "Benchmarking" ,
"recommendations" : [ {
"name" : "criterion" ,
"notes" : "Statistically accurate benchmarking tool for benchmarking libraries"
} , {
"name" : "hyperfine" ,
2022-11-09 14:04:42 +00:00
"link" : "https://github.com/sharkdp/hyperfine#hyperfine" ,
2022-11-09 13:17:22 +00:00
"notes" : "Tool for benchmarking compiled binaries (similar to unix time command but better)"
} ]
} ,
2022-11-09 16:18:57 +00:00
{
2022-11-10 13:22:41 +00:00
"name" : "Performance" ,
2022-11-09 16:18:57 +00:00
"recommendations" : [ {
"name" : "cargo-flamegraph" ,
"link" : "https://github.com/flamegraph-rs/flamegraph#cargo-flamegraph" ,
"notes" : "Execution flamegraph generation"
} , {
"name" : "dhat" ,
"notes" : "Heap memory profiling"
2022-11-10 13:22:41 +00:00
} , {
"name" : "cargo-show-asm" ,
2023-01-08 22:44:19 +00:00
"notes" : "Print the generated assembly for a Rust function"
2022-11-09 16:18:57 +00:00
} ]
} ,
2022-11-09 13:17:22 +00:00
{
"name" : "Debugging Macros" ,
"recommendations" : [ {
"name" : "cargo-expand" ,
2022-11-09 14:04:42 +00:00
"link" : "https://github.com/dtolnay/cargo-expand#cargo-expand" ,
2022-11-09 13:17:22 +00:00
"notes" : "Allows you to inspect the code that macros expand to"
} ]
} ,
{
"name" : "Release Automation" ,
"recommendations" : [ {
"name" : "cargo-release" ,
2022-11-09 14:04:42 +00:00
"link" : "https://github.com/crate-ci/cargo-release#cargo-release" ,
2022-11-09 13:17:22 +00:00
"notes" : "Helper for publishing new crate versions."
} ]
2022-11-09 16:25:42 +00:00
} ,
{
"name" : "Continuous Integration" ,
"recommendations" : [ {
"name" : "rust-toolchain (github action)" ,
"link" : "https://github.com/dtolnay/rust-toolchain#install-rust-toolchain" ,
"notes" : "Github action to install Rust components via rustup"
} , {
"name" : "rust-cache (github action)" ,
"link" : "https://github.com/Swatinem/rust-cache#rust-cache-action" ,
"notes" : "Github action to cache compilation artifacts and speed up subsequent runs."
} ]
2022-11-09 13:17:22 +00:00
}
]
} ,
2022-03-13 21:43:04 +00:00
{
2022-04-18 16:06:35 +00:00
"slug" : "common" ,
"name" : "Common" ,
"description" : "Very commonly used crates that everyone should know about" ,
2022-04-27 17:08:49 +00:00
"subgroups" : [
2022-03-13 21:43:04 +00:00
{
2022-04-27 17:08:49 +00:00
"slug" : "general" ,
"name" : "General" ,
"description" : "General purpose " ,
"purposes" : [
{
"name" : "Random numbers" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "rand" ,
2022-11-07 22:46:21 +00:00
"notes" : "De facto standard random number generation library split out from the standard library"
2022-04-27 17:08:49 +00:00
} ]
} ,
2022-04-27 17:12:01 +00:00
{
2022-11-08 01:12:01 +00:00
"name" : "Time & Date" ,
2022-11-08 12:03:22 +00:00
"notes" : "Unfortunately there is no clear answer as to which is best between time and chrono.<br />Evaluate for yourself between these two, but be resassured that both are trusted and well-maintained." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 01:12:01 +00:00
"name" : "time" ,
2022-11-08 12:03:22 +00:00
"notes" : "A smaller, simpler library. Preferrable if covers your needs, but it's quite limited in what it provides."
2022-11-08 01:12:01 +00:00
} , {
"name" : "chrono" ,
2022-12-28 01:07:57 +00:00
"notes" : "The most comprehensive and full-featured datetime library, but more complex because of it."
2022-04-27 17:12:01 +00:00
} ]
} ,
2022-04-27 17:08:49 +00:00
{
"name" : "Serialization (JSON, YAML, etc)" ,
2022-11-08 01:11:00 +00:00
"notes" : "See <a href=\"https://docs.rs/serde/latest/serde/#data-formats\">here</a> for supported formats." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "serde" ,
2022-11-07 22:46:21 +00:00
"notes" : "De facto standard serialization library. Use in conjunction with sub-crates like serde_json for the specific format that you are using."
2022-04-27 17:08:49 +00:00
} ]
} ,
{
"name" : "Regular Expressions" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "regex" ,
2022-11-07 22:46:21 +00:00
"notes" : "De facto standard regex library. Very fast, but does not support fancier features such as backtracking."
2022-04-27 17:08:49 +00:00
} ,
{
2022-12-14 10:30:42 +00:00
"name" : "fancy-regex" ,
2022-04-27 17:08:49 +00:00
"notes" : "Use if need features such as backtracking which regex doesn't support"
} ]
} ,
2022-11-08 01:12:01 +00:00
{
"name" : "UUIDs" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 01:12:01 +00:00
"name" : "uuid" ,
"notes" : "Implements generating and parsing UUIDs and a number of utility functions"
} ]
} ,
2022-05-02 13:54:15 +00:00
{
"name" : "Temporary files" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 13:54:15 +00:00
"name" : "tempfile" ,
"notes" : "Supports both temporary files and temporary directories"
} ]
} ,
2022-04-27 17:08:49 +00:00
{
"name" : "Gzip (de)compression" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "flate2" ,
"notes" : "Uses a pure-Rust implementation by default. Use feature flags to opt in to system zlib."
} ]
} ,
2022-05-01 23:57:46 +00:00
{
"name" : "Insertion-ordered map" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-01 23:57:46 +00:00
"name" : "indexmap" ,
2022-11-05 12:36:38 +00:00
"notes" : "A HashMap that seperately keeps track of insertion order and allows you to efficiently iterate over its elements in that order"
2022-05-01 23:57:46 +00:00
} ]
} ,
{
"name" : "Stack-allocated arrays" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-01 23:57:46 +00:00
"name" : "arrayvec" ,
"notes" : "Arrays that are ONLY stack-allocated with fixed capacity"
} , {
2022-05-02 00:03:25 +00:00
"name" : "smallvec" ,
"notes" : "Arrays that are stack-allocated with fallback to the heap if the fixed stack capacity is exceeded"
2022-05-01 23:57:46 +00:00
} , {
"name" : "tinyvec" ,
"notes" : "Stack allocated arrays in 100% safe Rust code but requires items to implement the Default trait."
} ]
} ,
2022-04-27 17:08:49 +00:00
{
"name" : "HTTP Requests" ,
2023-01-02 22:22:30 +00:00
"notes" : "See the HTTP section below for server-side libraries" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "reqwest" ,
"notes" : "Full-fat HTTP client. Can be used in both synchronous and asynchronous code. Requires tokio runtime."
} , {
"name" : "ureq" ,
"notes" : "Minimal synchronous HTTP client focussed on simplicity and minimising dependencies."
} ]
}
]
2022-03-13 21:43:04 +00:00
} ,
{
2022-04-27 17:08:49 +00:00
"slug" : "error-handling" ,
"name" : "Error Handling" ,
"description" : "Crates for more easily handling errors" ,
"purposes" : [
{
"name" : "For applications" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "anyhow" ,
"notes" : "Provides a boxed error type that can hold any error, and helpers for generating an application-level stack trace."
2022-11-08 11:35:33 +00:00
} , {
"name" : "color-eyre" ,
"notes" : "A fork of anyhow that gives you more control over the format of the generated error messages. Recommended if you need intend to present error messages to end users. Otherwise anyhow is simpler."
2022-04-27 17:08:49 +00:00
} ]
} ,
{
"name" : "For libraries" ,
2022-11-15 11:42:58 +00:00
"notes" : "See also: <a href=\"https://mmapped.blog/posts/12-rust-error-handling.html\">Designing error types in Rust</a>" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "thiserror" ,
"notes" : "Helps with generating boilerplate for enum-style error types."
} ]
}
]
2022-03-13 21:43:04 +00:00
} ,
{
2022-04-27 17:08:49 +00:00
"slug" : "logging" ,
"name" : "Logging" ,
"description" : "Crates for logging. Note that in general you will need a seperate crate for actually printing/storing the logs" ,
"purposes" : [
{
"name" : "Text-based logging" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "tracing" ,
"notes" : "Tracing is now the go-to crate for logging."
} , {
"name" : "log" ,
"notes" : "An older and simpler crate if your needs are simple and you are not using any async code."
} ]
} ,
{
2022-11-04 16:16:30 +00:00
"name" : "Structured logging" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "tracing" ,
"notes" : "Tracing is now the go-to crate for logging."
} , {
"name" : "slog" ,
2022-11-04 16:16:30 +00:00
"notes" : "Structured logging"
2022-04-27 17:08:49 +00:00
} ]
}
]
2022-03-13 21:43:04 +00:00
} ,
{
2022-04-27 17:08:49 +00:00
"slug" : "lang-extensions" ,
"name" : "Language Extensions" ,
"description" : "General purpose utility crates that extend language and/or stdlib functionality." ,
"purposes" : [
{
"name" : "Lazy static variable initialization" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "once_cell" ,
"notes" : "Newer crate with more ergonomic API. On track to be incorporated into the standard library. Should be preferred for all new projects."
} , {
"name" : "lazy_static" ,
"notes" : "Older crate. API is less convenient, but crate is stable and maintained."
} ]
} ,
{
"name" : "Iterator helpers" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "itertools" ,
"notes" : "A bunch of useful methods on iterators that aren't in the stdlib"
} ]
} ,
2022-11-08 01:24:11 +00:00
{
"name" : "Macro helpers" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 01:24:11 +00:00
"name" : "syn" ,
"notes" : "Parse rust source code"
} , {
"name" : "quote" ,
"notes" : "Quasi quoting rust (useful for interpolating generated code with literal code)"
} , {
"name" : "paste" ,
"notes" : "Concatenating and manipulating identifiers"
} ]
} ,
2022-11-08 01:30:36 +00:00
{
"name" : "Safe type casts" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 12:42:07 +00:00
"name" : "bytemuck"
2022-11-08 01:30:36 +00:00
} ]
} ,
2022-04-27 17:08:49 +00:00
{
"name" : "Bitflags" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:08:49 +00:00
"name" : "bitflags" ,
"notes" : "Strongly typed bitflag types"
} ]
}
]
2022-04-27 17:18:09 +00:00
} ,
{
"slug" : "system" ,
"name" : "System" ,
"description" : "For low-level interaction with the underling platform / operating system" ,
"purposes" : [
{
"name" : "Memory mapping files" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-04 16:18:12 +00:00
"name" : "memmap2" ,
"notes" : "The older memmap crate is unmaintained."
2022-04-27 17:18:09 +00:00
} ]
} ,
{
"name" : "Libc" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:18:09 +00:00
"name" : "libc" ,
"notes" : "Bindings for directly calling libc functions."
} ]
} ,
{
"name" : "Windows (OS)" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-05 16:30:16 +00:00
"name" : "windows" ,
2022-04-27 17:18:09 +00:00
"notes" : "The official Microsoft-provided crate for interacting with windows APIs"
} , {
"name" : "winapi" ,
"notes" : "Older binding to the windows APIs. Unofficial, but more complete than windows-rs"
} ]
2022-11-10 10:01:59 +00:00
} ,
{
"name" : "*nix (OSs)" ,
"recommendations" : [ {
"name" : "nix" ,
"notes" : "Bindings to the various *nix system functions. (Unix, Linux, MacOS, etc.)"
} ]
2022-04-27 17:18:09 +00:00
}
]
2022-03-13 21:43:04 +00:00
}
]
2022-04-27 17:53:10 +00:00
} ,
2023-01-04 20:50:58 +00:00
{
"slug" : "math-scientific" ,
"name" : "Math / Scientific" ,
"description" : "The <a href=\"https://lib.rs/crates/num\">num</a> crate is trusted and has a variety of numberical functionality that is missing from the standard library." ,
"subgroups" : [ ] ,
"purposes" : [
{
"name" : "Abstracting over different number types" ,
"recommendations" : [ {
"name" : "num-traits" ,
"notes" : "Traits like Number, Add, etc that allow you write functions that are generic over the specific numeric type"
} ]
} ,
{
"name" : "Big Integers" ,
"recommendations" : [
{ "name" : "num-bigint" , "notes" : "It's not the fastest, but it's part of the trusted num library." } ,
{ "name" : "rug" , "notes" : "LGPL licensed. Wrapper for GMP. Much faster than num-bigint." }
]
} ,
{
"name" : "Big Decimals" ,
"recommendations" : [
{ "name" : "rust_decimal" , "notes" : "The binary representation consists of a 96 bit integer number, a scaling factor used to specify the decimal fraction and a 1 bit sign." }
]
} ,
{
"name" : "Sortable Floats" ,
"recommendations" : [
{ "name" : "ordered-float" , "notes" : "Float types that don't allow NaN and are therefore orderable. You can also use the <code>total_cmp</code> method from the standard library like <code>.sort_by(|a, b| a.total_cmp(&b))</code>." }
]
} ,
{
"name" : "Linear Algebra" ,
"recommendations" : [
{ "name" : "nalgebra" , "notes" : "General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices. However it supports only vectors (1d) and matrices (2d) and not higher-dimensional tensors." } ,
{ "name" : "ndarray" , "notes" : "Less featureful than nalgebra but supports arbitrarily dimensioned arrays" }
]
} ,
{
"name" : "DataFrames" ,
"recommendations" : [
{ "name" : "polars" , "notes" : "Similar to the Pandas library in Python but in pure Rust. Uses the Apache Arrow Columnar Format as the memory model." }
]
}
]
} ,
2022-11-10 13:04:54 +00:00
{
"slug" : "ffi" ,
"name" : "FFI / Interop" ,
"description" : "Crates that allow Rust to interact with code written in other languages." ,
"subgroups" : [ ] ,
"purposes" : [
{
"name" : "C" ,
"recommendations" : [
{ "name" : "bindgen" , "notes" : "Generate Rust bindings to C libraries" } ,
{ "name" : "cbindgen" , "notes" : "Generate C bindings to Rust libraries" }
]
} ,
{
"name" : "C++" ,
"recommendations" : [
{ "name" : "cxx" , "notes" : "Safe C++ <-> Rust interop by generating code for both sides." }
]
} ,
{
"name" : "Python" ,
"recommendations" : [
2022-11-11 04:19:40 +00:00
{ "name" : "pyo3" , "notes" : "Supports both calling python code from Rust and exposing Rust code to Python" }
2022-11-10 13:04:54 +00:00
]
} ,
{
"name" : "Node.js" ,
"recommendations" : [
2022-11-11 21:16:35 +00:00
{ "name" : "napi" , "notes" : "is a framework for building pre-compiled Node.js addons in Rust." } ,
2022-11-10 13:04:54 +00:00
{ "name" : "neon" , "notes" : "Slower than napi, but also widely used and well-maintained" }
]
} ,
{
"name" : "Ruby" ,
"recommendations" : [
2022-11-11 05:59:40 +00:00
{ "name" : "rutie" , "notes" : "Supports both embedding Rust into Ruby applications and embedding Ruby into Rust applications" }
2022-11-10 13:04:54 +00:00
]
} ,
{
"name" : "Objective-C" ,
"recommendations" : [
{ "name" : "objc" , "notes" : "Interop with the Objective-C runtime" }
]
} ,
{
"name" : "Java/JVM" ,
"recommendations" : [
{ "name" : "jni" , "notes" : "Implement Java methods for JVM and Android in Rust. Call Java code from Rust. Embed JVM in Rust applications." }
]
} ,
{
"name" : "Lua" ,
"recommendations" : [
{ "name" : "mlua" , "notes" : "Bindings to Lua 5.4, 5.3, 5.2, 5.1 (including LuaJIT)" }
]
} ,
{
"name" : "Dart/Flutter" ,
"recommendations" : [
{ "name" : "flutter_rust_bridge" , "notes" : "Works with Dart with or without Flutter" }
]
2022-11-17 15:21:24 +00:00
} ,
{
"name" : "Erlang/Elixir" ,
"recommendations" : [
{ "name" : "rustler" , "notes" : "Safe Rust bridge for creating Erlang NIF functions" }
]
2022-11-10 13:04:54 +00:00
}
]
} ,
2022-11-08 00:59:23 +00:00
{
"slug" : "cryptography" ,
"name" : "Cryptography" ,
"description" : "Crates that provide implementations of cryptographic algorithms. This section attempts to list the best crates for the listed algorithms, but does not intend to make recommendations for the algorithms themselves.<br />" ,
"subgroups" : [ ] ,
"purposes" : [
{
"name" : "Password Hashing" ,
"notes" : "For more algorithms, see <a href=\"https://github.com/RustCrypto/password-hashes#rustcrypto-password-hashes\">Rust Crypto Password Hashes</a>." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [
2022-11-08 12:42:07 +00:00
{ "name" : "argon2" } ,
{ "name" : "scrypt" } ,
{ "name" : "bcrypt" }
2022-11-08 00:59:23 +00:00
]
} ,
{
"name" : "General Purpose Hashing" ,
"notes" : "For more algorithms, see <a href=\"https://github.com/RustCrypto/hashes#rustcrypto-hashes\">Rust Crypto Hashes</a>." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [
2022-11-08 12:42:07 +00:00
{ "name" : "sha2" } ,
{ "name" : "sha1" } ,
{ "name" : "md-5" }
2022-11-08 00:59:23 +00:00
]
} ,
{
"name" : "AEAD Encryption" ,
"notes" : "For more algorithms, see <a href=\"https://github.com/RustCrypto/AEADs#rustcrypto-authenticated-encryption-with-associated-data-aead-algorithms\">Rust Crypto AEADs</a>." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [
2022-11-08 12:42:07 +00:00
{ "name" : "aes-gcm-siv" } ,
{ "name" : "aes-gcm" } ,
{ "name" : "chacha20poly1305" }
2022-11-08 00:59:23 +00:00
]
} ,
{
"name" : "RSA" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [
2022-11-08 12:42:07 +00:00
{ "name" : "rsa" }
2022-11-08 00:59:23 +00:00
]
} ,
{
"name" : "Digital Signatures" ,
"notes" : "For more algorithms, see <a href=\"https://github.com/RustCrypto/signatures#rustcrypto-signatures--\">Rust Crypto Signatures</a>." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [
2022-11-08 00:59:23 +00:00
{ "name" : "ed25519" , "notes" : "Use in conjunction with the ed25519-dalek crate." } ,
2022-11-08 12:42:07 +00:00
{ "name" : "ecdsa" } ,
{ "name" : "dsa" }
2022-11-08 00:59:23 +00:00
]
} ,
{
"name" : "Certificate Formats" ,
"notes" : "For more formats, see <a href=\"https://github.com/RustCrypto/formats#rustcrypto-formats--\">Rust Crypto Formats</a>." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [
2022-11-08 12:42:07 +00:00
{ "name" : "der" } ,
2022-12-14 10:30:42 +00:00
{ "name" : "pem-rfc7468" } ,
2022-11-08 12:42:07 +00:00
{ "name" : "pkcs8" } ,
{ "name" : "x509-cert" }
2022-11-08 00:59:23 +00:00
]
} ,
{
"name" : "TLS / SSL" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 00:59:23 +00:00
"name" : "rustls" ,
"notes" : "A portable pure-rust high-level implementation of TLS. Implements TLS 1.2 and higher."
} , {
2022-11-08 10:49:11 +00:00
"name" : "native-tls" ,
2022-11-08 00:59:23 +00:00
"notes" : "Delegates to the system TLS implementations on windows and macOS, and uses OpenSSL on linux."
2022-11-08 13:21:13 +00:00
} ] ,
"see_also" : [ {
2022-11-08 00:59:23 +00:00
"name" : "webpki" ,
"notes" : "X.509 Certificate validation. Builds on top of ring."
} , {
"name" : "ring" ,
2022-11-08 13:21:13 +00:00
"notes" : "Fork of BoringSSL. Provides low-level cryptographic primitives for TLS/SSL"
2022-11-08 00:59:23 +00:00
} ]
} ,
{
"name" : "Utilities" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 00:59:23 +00:00
"name" : "subtle" ,
"notes" : "Utilities for writing constant-time algorithms"
} ,
{
"name" : "zeroize" ,
"notes" : "Securely erase memory"
} ]
}
]
} ,
2022-04-27 17:53:10 +00:00
{
"slug" : "networking" ,
"name" : "Networking" ,
"description" : "TCP, HTTP, GRPc, etc. And the executors required to do asynchronous networking." ,
"subgroups" : [
{
2022-11-17 15:18:14 +00:00
"slug" : "async-foundations" ,
"name" : "Async Foundations" ,
2022-04-27 17:53:10 +00:00
"description" : "To do async programming using the async-await in Rust you need a runtime to execute drive your Futures." ,
"purposes" : [
{
2022-11-17 15:18:14 +00:00
"name" : "General Purpose Async Executors" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:53:10 +00:00
"name" : "tokio" ,
"notes" : "The oldest async runtime in the Rust ecosystem and still the most widely supported. Recommended for new projects."
} , {
2022-11-17 15:18:14 +00:00
"name" : "futures-executor" ,
"notes" : "A minimal executor. In particular, the <a href=\"https://docs.rs/futures-executor/latest/futures_executor/fn.block_on.html\">block_on</a> function is useful if you want to run an async function synchronously in codebase that is mostly synchronous."
} ] ,
"see_also" : [ {
2022-04-27 17:53:10 +00:00
"name" : "async-std" ,
2022-11-17 15:18:14 +00:00
"notes" : "A newer option that is very similar to tokio. Its API more closely mirrors the std library, but it doesn't have as much traction or ecosystem support as Tokio."
} ]
} ,
{
"name" : "Async Utilities" ,
"recommendations" : [ {
"name" : "futures" ,
"notes" : "Utility functions for working with Futures and Streams"
} , {
"name" : "async-trait" ,
"notes" : "Provides a workaround for the lack of language support for async functions in traits"
2022-04-27 17:53:10 +00:00
} ]
} ,
{
"name" : "io_uring" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:53:10 +00:00
"name" : "glommio" ,
"notes" : "Use if you need io_uring support. Still somewhat experimental but rapidly maturing."
} ]
}
]
} ,
{
"slug" : "http-foundations" ,
"name" : "HTTP" ,
2022-11-07 22:25:13 +00:00
"description" : "HTTP client and server libraries, as well as lower-level building blocks." ,
2022-04-27 17:53:10 +00:00
"purposes" : [
{
"name" : "Types & Interfaces" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:53:10 +00:00
"name" : "http" ,
"notes" : "The `http` crate doesn't actually contain an HTTP implementation. Just types and interfaces to help interoperability."
} ]
} ,
{
"name" : "Low-level HTTP Implementation" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:53:10 +00:00
"name" : "hyper" ,
2022-11-08 18:10:32 +00:00
"notes" : "A low-level HTTP implementation (both client and server). Implements HTTP 1, 2, and 3. Works best with the tokio async runtime, but can support other runtimes."
2022-04-27 17:53:10 +00:00
} ]
} ,
{
"name" : "HTTP Client" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:53:10 +00:00
"name" : "reqwest" ,
"notes" : "Full-fat HTTP client. Can be used in both synchronous and asynchronous code. Requires tokio runtime."
} , {
"name" : "ureq" ,
"notes" : "Minimal synchronous HTTP client focussed on simplicity and minimising dependencies."
2022-11-08 12:52:13 +00:00
} ] ,
"see_also" : [ {
"name" : "surf" ,
"notes" : "Client that uses the async-std runtime rather than the tokio runtime. Not well maintained."
2022-04-27 17:53:10 +00:00
} ]
} ,
{
"name" : "HTTP Server" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:53:10 +00:00
"name" : "axum" ,
"notes" : "A minimal and ergonomic framework. An official part of the tokio project. Recommend for most new projects."
} , {
"name" : "actix-web" ,
"notes" : "A performance focussed framework. All Rust frameworks are fast, but choose actix-web if you need the absolutely maximum performance."
2022-11-08 12:52:13 +00:00
} ] ,
"see_also" : [ {
"name" : "rocket" ,
2022-11-13 20:14:59 +00:00
"notes" : "Has an excellent API and a solid implementation. However development has been intermittent, and the async branch still doesn't have a stable release. Use of rocket is not recommended until this has been fixed."
2022-04-27 17:53:10 +00:00
} , {
"name" : "poem" ,
2022-12-28 01:07:57 +00:00
"notes" : "Automatically generates OpenAPI definitions."
2022-04-27 17:53:10 +00:00
} , {
"name" : "warp" ,
2022-11-08 13:20:16 +00:00
"notes" : "Very similar to axum but with a quirkier API. This is a solid framework, but you should probably prefer Axum unless you particularly like the API"
2022-04-27 17:53:10 +00:00
} , {
2022-11-08 12:52:13 +00:00
"name" : "tide" ,
"notes" : "Similar to Axum, but based on async-std rather than tokio"
2022-04-27 17:53:10 +00:00
} ]
2022-11-08 09:36:15 +00:00
} ,
{
"name" : "GraphQL Server" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 09:36:15 +00:00
"name" : "async-graphql" ,
"notes" : "A high-performance graphql server library that's fully specification compliant. Integrates with actix-web, axum, poem, rocket, tide, warp."
} ]
2022-04-27 17:53:10 +00:00
}
]
} ,
{
"slug" : "websockets" ,
"name" : "Websockets" ,
"description" : "This section includes libraries for you to use just websockets. However note that many of the HTTP server frameworks in the section above also support websockets" ,
"purposes" : [
{
"name" : "Low-level" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-12 10:46:33 +00:00
"name" : "tungstenite" ,
2022-04-27 17:53:10 +00:00
"notes" : "Low-level crate that others build on"
} ]
} ,
{
"name" : "General Purpose" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:53:10 +00:00
"name" : "tokio-tungstenite" ,
"notes" : "If you are using the tokio executor"
} , {
"name" : "async-tungstenite" ,
"notes" : "If you are using the async-std executor"
} ]
}
]
} ,
{
"slug" : "grpc" ,
"name" : "gRPC" ,
"purposes" : [
{
"name" : "General Purpose" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-04-27 17:53:10 +00:00
"name" : "tonic" ,
2022-05-02 12:05:31 +00:00
"notes" : "gRPC over HTTP/2 with full support for asynchronous code. Works with tokio"
} ]
}
]
}
]
} ,
2022-11-08 12:31:41 +00:00
{
"slug" : "databases" ,
"name" : "Databases" ,
"subgroups" : [
{
"slug" : "sql-databases" ,
"name" : "SQL Databases" ,
2022-12-31 18:05:26 +00:00
"description" : "The multi-database options (SQLx and Diesel) are generally quite good, and worth considering even if you only need support for a single database." ,
2022-11-08 12:31:41 +00:00
"purposes" : [
{
"name" : "Multi Database" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 12:31:41 +00:00
"name" : "sqlx" ,
"notes" : "Works with Postgres, MySQL, SQLite, and MS SQL.<br />Supports compile time checking of queries. Async: supports both tokio and async-std."
} ]
} ,
{
"name" : "ORMs" ,
2022-12-31 18:05:26 +00:00
"recommendations" : [
{
2022-11-08 12:31:41 +00:00
"name" : "diesel" ,
2022-12-31 18:05:26 +00:00
"notes" : "Has excellent performance and takes an approach of strict compile time guarantees. The main crate is Sync only, but <a href=\"https://lib.rs/crates/diesel-async\">diesel-async</a> provides an async connection implementation."
} , {
"name" : "sea-orm" ,
"notes" : "Built on top of sqlx (see above). There is also a related sea-query crate that provides a query builder without full ORM functionality."
2022-11-08 12:31:41 +00:00
} ]
} ,
{
"name" : "Postgres" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 12:31:41 +00:00
"name" : "tokio-postgres" ,
"notes" : "Postgres-specific library. Performs better than SQLx"
} ]
} ,
{
"name" : "MySQL" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 12:31:41 +00:00
"name" : "mysql_async" ,
2022-12-31 18:05:26 +00:00
"notes" : "Has a poorly designed API. Prefer SQLx or Diesel for MySQL"
2022-11-08 12:31:41 +00:00
} ]
} ,
{
"name" : "SQLite" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-13 06:54:37 +00:00
"name" : "rusqlite" ,
2022-11-08 12:31:41 +00:00
"notes" : "Provides a sync API to SQLite + provides access to advanced sqlite features."
} ]
} ,
{
"name" : "MS SQL" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 12:31:41 +00:00
"name" : "tiberius" ,
"notes" : "MS SQL specific library. Has better support for advanced column types than SQLx."
} ]
} ,
{
"name" : "Oracle" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-12-31 18:05:26 +00:00
"name" : "diesel-oci" ,
"notes" : "Diesel backend and connection implementation for oracle databases"
} , {
2022-11-08 12:31:41 +00:00
"name" : "oracle" ,
"notes" : "Rust bindings to ODPI-C"
} ]
}
]
} ,
{
"slug" : "other-databases" ,
"name" : "Other Databases" ,
"purposes" : [
{
"name" : "Redis" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 12:42:07 +00:00
"name" : "redis"
2022-11-08 12:31:41 +00:00
} ]
} ,
{
"name" : "MongoDB" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 12:42:07 +00:00
"name" : "mongodb"
2022-11-08 12:31:41 +00:00
} ]
2022-11-10 13:14:35 +00:00
} ,
{
"name" : "ElasticSearch" ,
"recommendations" : [ {
"name" : "elasticsearch"
} ]
} ,
{
"name" : "Rocks DB" ,
"recommendations" : [ {
"name" : "rocksdb"
} ]
2022-11-09 08:32:04 +00:00
}
]
} ,
{
2022-11-09 13:18:46 +00:00
"slug" : "sql-utilities" ,
"name" : "Utilities" ,
2022-11-09 08:32:04 +00:00
"purposes" : [
{
2022-11-09 13:18:46 +00:00
"name" : "Connection pool" ,
2022-11-09 08:32:04 +00:00
"recommendations" : [ {
"name" : "deadpool" ,
"notes" : "A dead simple async pool for connections and objects of any type."
} ]
2022-11-08 12:31:41 +00:00
}
]
}
]
} ,
2022-05-02 12:05:31 +00:00
{
"slug" : "cli-tools" ,
"name" : "CLIs" ,
"subgroups" : [
{
"slug" : "argument-parsing" ,
"name" : "Argument Parsing" ,
"description" : "See <a target=\"_blank\" href=\"https://github.com/rust-cli/argparse-benchmarks-rs\">argparse-benchmarks-rs</a> for a full comparison of the crates mentioned here and more." ,
"purposes" : [
{
"name" : "Fully-featured" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 12:05:31 +00:00
"name" : "clap" ,
2022-11-08 15:06:44 +00:00
"notes" : "Ergonomic, battle-tested, includes the kitchen sink, and is fast at runtime. However compile times can be slow"
} ] ,
"see_also" : [ {
"name" : "bpaf" ,
"notes" : "Fast compile times than clap while still being featureful. But still has some rough edges, and the API can be confusing at times."
2022-05-02 12:05:31 +00:00
} ]
} ,
{
"name" : "Minimal" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 12:05:31 +00:00
"name" : "lexopt" ,
"notes" : "Fast compile times, fast runtime, pedantic about correctness. API is less ergonomic"
} , {
"name" : "pico-args" ,
"notes" : "Fast compile times, fast runtime, more lax about correctness. API is more ergonomic"
} ]
}
]
} ,
{
"slug" : "utility" ,
"name" : "Utility" ,
"description" : "Helpers that are often useful when implementing CLIs" ,
"purposes" : [
{
"name" : "Globbing" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 12:05:31 +00:00
"name" : "globset" ,
"notes" : "High-performance globbing that allows multiple globs to be evaluated at once"
} ]
} ,
{
"name" : "Directory walking" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 12:05:31 +00:00
"name" : "walkdir" ,
"notes" : "Basic recursive filesystem walking."
} , {
"name" : "ignore" ,
"notes" : "Recursive filesystem walking that respects ignore files (like .gitignore)"
} ]
} ,
{
"name" : "File watching" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 01:00:33 +00:00
"name" : "notify" ,
2022-05-02 12:05:31 +00:00
"notes" : "Watch files or directories and execute a function when they change"
2022-04-27 17:53:10 +00:00
} ]
}
]
2022-05-02 14:32:46 +00:00
} ,
{
"slug" : "rendering" ,
"name" : "Terminal Rendering" ,
"description" : "For fancy terminal rendering and TUIs. The crates recommended here work cross-platform (including windows)." ,
"purposes" : [
{
"name" : "Coloured Output" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 14:32:46 +00:00
"name" : "termcolor" ,
"notes" : "Cross-platform terminal colour output"
} ]
} ,
2022-11-08 11:19:58 +00:00
{
"name" : "Progress indicators" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-08 11:19:58 +00:00
"name" : "indicatif" ,
"notes" : "Progress bars and spinners"
} ]
} ,
2022-05-02 14:32:46 +00:00
{
"name" : "Full TUI library" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 14:32:46 +00:00
"name" : "crossterm" ,
"notes" : "Cross-platform terminal rendering and event handling"
} ]
}
]
2022-04-27 17:53:10 +00:00
}
]
2022-05-02 13:52:48 +00:00
} ,
{
"slug" : "concurrency" ,
"name" : "Concurrency" ,
"subgroups" : [
{
"slug" : "data-structures" ,
"name" : "Data Structures" ,
"purposes" : [
{
"name" : "Mutex" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 13:52:48 +00:00
"name" : "parking_lot" ,
2023-01-02 22:22:55 +00:00
"notes" : "std::sync::Mutex also works fine. But Parking Lot is faster."
2022-05-02 13:52:48 +00:00
} ]
} ,
{
"name" : "Atomic pointer swapping" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-11-15 09:07:14 +00:00
"name" : "arc-swap" ,
2022-05-02 13:52:48 +00:00
"notes" : "Useful for sharing data that has many readers but few writers"
} ]
} ,
{
"name" : "Concurrent HashMap" ,
2022-05-10 10:57:40 +00:00
"notes" : "See <a target=\"_blank\" href=\"https://github.com/xacrimon/conc-map-bench\">conc-map-bench</a> for comparative benchmarks of concurrent HashMaps." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [ {
2022-05-02 13:52:48 +00:00
"name" : "dashmap" ,
"notes" : "The fastest for general purpose workloads"
} , {
"name" : "flurry" ,
"notes" : "Particularly good for read-heavy workloads."
} ]
} ,
{
"name" : "Channels" ,
2022-05-06 10:32:05 +00:00
"notes" : "See <a href=\"https://docs.rs/tokio/latest/tokio/sync/mpsc/index.html#communicating-between-sync-and-async-code\">communicating-between-sync-and-async-code</a> for notes on when to use async-specific channels vs general purpose channels." ,
2022-11-08 12:52:13 +00:00
"recommendations" : [
2022-05-10 10:57:40 +00:00
{
2022-12-14 10:30:42 +00:00
"name" : "crossbeam-channel" ,
2022-05-02 13:52:48 +00:00
"notes" : "The absolute fastest channel implementation available. Implements Go-like 'select' feature."
} , {
"name" : "flume" ,
2022-12-20 23:08:33 +00:00
"notes" : "Smaller and simpler than crossbeam-channel and almost as fast"
2022-05-10 10:57:40 +00:00
} ,
{
2022-05-02 13:52:48 +00:00
"name" : "postage" ,
"notes" : "Channels that integrate nicely with async code"
} ]
2022-11-04 14:41:12 +00:00
} ,
{
"name" : "Parallel computation" ,
2022-11-08 12:52:13 +00:00
"recommendations" : [
2022-11-04 14:41:12 +00:00
{
"name" : "rayon" ,
"notes" : "Convert sequential computation into parallel computation with one call - `par_iter` instead of `iter`"
} ]
2022-05-02 13:52:48 +00:00
}
]
}
]
2022-11-10 12:21:53 +00:00
} ,
{
"slug" : "graphics" ,
"name" : "Graphics" ,
"subgroups" : [
{
"slug" : "gui" ,
"name" : "GUI" ,
"description" : "GTK and Tauri are probably the only options which can be described as production-ready without caveats.<br />The Rust native options are usable for simple projects but are all still quite incomplete." ,
"purposes" : [
{
"name" : "GTK" ,
"recommendations" : [ {
2022-11-12 10:46:33 +00:00
"name" : "gtk4" ,
2022-11-10 12:21:53 +00:00
"notes" : "Rust bindings to GTK4. These are quite well supported, although you'll often need to use the C documentation."
} , {
"name" : "relm4" ,
"notes" : "A higher-level library that sits on top of gtk4-rs"
} ]
} ,
{
"name" : "Web-based GUI" ,
"recommendations" : [ {
"name" : "tauri" ,
"notes" : "Electron-like web-based UI. Except it uses system webviews rather than shipping chromium, and non-UI code is written in Rust rather than node.js"
2023-02-13 13:26:18 +00:00
} , {
"name" : "dioxus" ,
"notes" : "A very nice API layer that has Tauri, Web, and TUI renderers. A native renderer is coming soon."
2022-11-10 12:21:53 +00:00
} ]
} ,
{
"name" : "Rust Native GUI" ,
"recommendations" : [ {
"name" : "iced" ,
"notes" : "Retained mode UI with a nice API. It's useable for basic apps, but has a number of missing features including multiple windows, layers, and proper text rendering."
} , {
"name" : "egui" ,
"notes" : "Immediate-mode UI. Lots of widgets. The most useable out of the box if your needs are simple and you don't need to customise of the look and feel"
2023-02-13 13:26:18 +00:00
} , {
"name" : "slint" ,
"notes" : "Possibly the most complete rust-native UI library. But note that it's dual GPL3/commercial licensed."
} ] ,
"see_also" : [ {
"name" : "vizia" ,
"notes" : "Fairly complete with sophisticated layout and text layout but has yet to make a stable release."
} , {
"name" : "freya" ,
"link" : "https://github.com/marc2332/freya" ,
"notes" : "A very nice API layer in based on Dioxus but it renders using Skia"
2022-11-10 12:21:53 +00:00
} , {
"name" : "druid" ,
2023-02-13 13:26:18 +00:00
"notes" : "Druid is a relatively mature alternative to Iced/Slint, however it has been discontinued in favour of Xilem so it's use for new projects is discouraged."
2022-11-10 12:21:53 +00:00
} , {
2023-02-13 13:26:18 +00:00
"name" : "xilem" ,
"link" : "https://github.com/linebender/xilem" ,
"notes" : "The replacement for Druid based on the more interoperable Vello and Glazier crates. However, it's currently not complete enough to be usable."
} , {
"name" : "rui" ,
"notes" : "SwiftUI inspired UI framework."
} , {
"name" : "concoct" ,
"notes" : "Jetpack compose inspired UI framework. Promising but still immature, even compared to other Rust GUI frameworks."
} , {
"name" : "kas" ,
"notes" : "One of the older Rust GUI crates, but it never seems to have caught on for some reason"
2022-11-10 12:21:53 +00:00
} ]
2023-02-13 13:46:12 +00:00
} , {
"name" : "Window creation" ,
"recommendations" : [ {
"name" : "winit" ,
"notes" : "The defacto standard option. Uses an event loop based architecture. Widely used and should probably be the default choice."
} , {
"name" : "tao" ,
"notes" : "A fork of winit by the Tauri project which adds support for things like system menus that desktop apps need."
} , {
"name" : "glazier" ,
"notes" : "A new competitor to winit based on the old druid-shell. Has a callback that may be better than the event loop architecture for some tasks. Doesn't yet have a stable release."
} , {
"name" : "baseview" ,
"notes" : "Specialized window creation library targetting windows to be embedded in other applications (e.g. DAW plugins)"
} ]
} , {
"name" : "2D Canvas Renders" ,
"recommendations" : [ {
"name" : "femtovg" ,
"notes" : "Pure Rust. Offers a simple API. Probably the easiest to get started with."
} , {
"name" : "skia-safe" ,
"notes" : "Based on the Skia C++ library. The most complete option with the best performance. However, it can be difficult to get it to compile."
} , {
"name" : "vello" ,
"notes" : "Pure Rust, and uses cutting edge techniques to render using the GPU. Still somewhat immature and hasn't yet put out a stable release."
} ]
} , {
"name" : "UI layout" ,
"recommendations" : [ {
"name" : "taffy" ,
"notes" : "Supports Flexbox and CSS Grid algorithms."
} , {
"name" : "morphom" ,
"notes" : "Implements it's own layout algorithm based on Subform layout"
} ]
} , {
"name" : "Text layout" ,
"recommendations" : [ {
"name" : "cosmic-text" ,
"notes" : "Full text layout including rich text and support for BiDi and non-latin scripts. The best option for now."
} , {
"name" : "parley" ,
"notes" : "Another very accomplished text layout library used by Druid/Xilem."
} ]
} , {
"name" : "Accessibility" ,
"recommendations" : [ {
"name" : "accesskit" ,
"notes" : "Allows you to export a semantic tree representing your UI to make accessible to screen readers and other assistive technologies"
} ]
} , {
"name" : "Clipboard" ,
"notes" : "Both cli-clipboard and copypasta are forks of the original rust-clipboard that add support for wayland." ,
"recommendations" : [ {
"name" : "cli-clipboard" ,
"notes" : ""
} , {
"name" : "copypasta" ,
"notes" : ""
} ]
2022-11-10 12:21:53 +00:00
} , {
"name" : "File Dialogs" ,
"recommendations" : [ {
"name" : "rfd" ,
"notes" : "Platform-native open/save file dialogs. Can be used in conjunction with other UI libraries."
} ]
}
]
2022-11-10 12:31:41 +00:00
} ,
{
"slug" : "game-development" ,
"name" : "Game Development" ,
"purposes" : [
{
"name" : "Game Engines" ,
"recommendations" : [ {
"name" : "bevy" ,
"notes" : "By far the most developed Rust game engine. It's still early, but already impressive and very much useable."
} , {
"name" : "ggez" ,
"notes" : "A simpler option for 2d games only."
} ]
} ,
{
2022-11-16 05:05:09 +00:00
"name" : "3D Math" ,
2022-11-10 12:31:41 +00:00
"recommendations" : [ {
"name" : "glam" ,
"notes" : "Fast math library optimised for game development use cases"
} ]
}
]
2022-11-10 12:21:53 +00:00
}
]
2022-03-13 21:43:04 +00:00
}
]
2022-11-04 14:41:12 +00:00
}