The Rustmax Radar
This is where we collect crates and tools of interest, but that are not yet part of Rustmax.
Crates
Collections and algorithms
bitvec. Operate directly on bits.dashmap. Concurrent hash map.ena. The union find algorithm.hashbrown. Thestdhash map, usable in no-std, with a lower-level API.indexmap. Hash maps and sets that preserve insertion order.ndarray. N-dimensional arrays.petgraph. Graph data structures and algorithms.rangetools. Set operations on ranges.smallvec. The “small vector” optimization. There may be better / newer options.
Hashing
fnv. A fast hasher for small keys.
Numbers
num. Rationals, complex numbers, and the rest of thenumfamily.num-traits. Traits for writing code generic over numeric types.ordered-float. Floats that implementOrdandHash.
Serialization
borsh. Fast and stable binary serialization.postcard. Compact binary serde format, no-std friendly.ron. Rusty Object Notation, a serde format for config and data files.
Errors
eyre. Sophisticated error handling.
Language extensions
bytemuck. Safe casts between plain-old-data types and byte slices.derive-new. Derive thenewfunction.enum-iterator. Iterate over variants.pin-project-lite. Safe pin projection for hand-written futures.rustversion. Conditional compilation based on compiler version.scopeguard. Likedefer.
Concurrency and runtime
parking_lot. Non-poisoning mutexes, etc.pollster. Minimalblock_onfor running a future without an async runtime.stacker. Manually-growable call stacks.backtrace-on-stack-overflow. Nice missing feature, but code looks underdeveloped.
Networking and databases
tungstenite. WebSockets.rustls. TLS.boringtun. WireGuard.sqlx. Async SQL with compile-time checked queries.
Cryptography and secrets
sha3. SHA-3 hashes.k256. secp256k1 elliptic curve.zeroize. Secret-zeroing cells.rpassword. Password input.
Text
encoding,charset,codepage,oem_cp,icu_normalizer,detone. Text encoding.unicode-xid. Unicode identifier character classes.html5ever,scraper, andselectors. HTML parsing and CSS selectors. html5ever is low-level; scraper provides a convenient DOM + selector API.
Time
time. Another time crate.
Logging and tracing
tracing. Structured, span-based diagnostics.tracing-subscriber. Collecting and formattingtracingoutput.tracing-tracy.tracingintegration with the Tracy profiler.
Testing and benchmarking
criterion. Advanced benchmarking.divan. Simple, fast benchmarking with an attribute-based API.datatest-stable. Data-driven tests.
Terminal
consoleanddialoguer. Pretty terminals.crossterm. Cross-platform terminal control and input events.ratatui. Seriously cool CLIs.
Graphics and audio
wgpu. Cross-platform GPU API based on WebGPU.raw-window-handle. Interop between windowing and graphics crates.cpal. Cross-platform audio I/O.rodio. Cross-platform audio playback.
System and platform
nix. Safe bindings to Unix APIs.libloading. Load dynamic libraries at runtime.getrandom. Random bytes from the operating system.memmap2. Memory-mapped files. Maintained fork ofmemmap.home. Find the user’s home directory.dirs. Platform-specific standard directories for config, cache, data, etc.xdg. XDG base directories.dotenvy. Load environment variables from.envfiles. Maintained fork ofdotenv.
Embedding resources
include_dir. Embed a directory tree in a binary.rust-embed. Embedding of file system resources into binaries, with hot-reloading during development.
Tools
cargo-cache. Inspect and clean the~/.cargoregistry caches and git checkouts.cargo-hack. Build and test with combinations of cargo features.cargo-llvm-cov. Code coverage.delta. Improvedgit diffplugin.ferritin. Crate API docs in the terminal, with a condensed format for coding agents. Young and mostly one maintainer.flamegraphandinferno. Flame graph profiling.hyperfine. Command-line benchmarking.rust-analyzer. The Rust language server.skim. Fuzzy finder (sk), like fzf but in Rust.wasmtime-cli. WebAssembly runtime.
Wanted
- gRPC
- threadpool
- parser generator (pest?)
- alternative to bitflags
- gui stuff
- winit, morphorm, css, iced vs egui
- i18n
- QUIC - either quinn or quiche
- HTTP3
- csv
- small string, smartstring
- rational numbers
- fixed-point, decimal numbers, rust-decimal
Graveyard
These projects were once useful or notable, but are now deprecated by others.
lazy_static. Usestd::sync::LazyLock.static_assertions. Use inline const blocks.num_cpus. Usestd::thread::available_parallelism.once_cell. Usestd::sync::OnceLock.memoffset. Usestd::mem::offset_of!.memmap. Usememmap2.dotenv. Usedotenvy.