Rust_libraries
Resources
Rust Language Related
Error
Logging
crate | description |
---|---|
log | Offical, to show message, it needs a implementation, recommend env_logger |
tracing | trace, better for async programming development |
Concurrency
crate | description |
---|---|
tokio | suitable for IO-intensive computing, not the best for IO-intensive, |
read a log of files(use thread instead) and a small amout of http request | |
rayon | suitable for CPU-intensive computing |
reqwest | suitable for a small amout of requests |
shadow-rs | A build-time information stored in your rust project |
System Utils
crate | description |
---|---|
directories-rs | provides platform-specific, user-accessible locations |
nix | Rust friendly bindings to *nix APIs |
Terminal
crate | description |
---|---|
nu-ansi-term | Library for ANSI terminal colors and styles (bold, underline) |
clap | A simple to use, efficient, and full-featured Command Line Argument Parser |
atty | A simple interface for querying atty |
rpassword | Read passwords in console applications. |