Rust_libraries

Rust Language Related

Error

cratedescription
anyhowFlexible concrete Error type built on std::error::Error
thiserrorderive(Error)
futuresfutures and streams featuring zero allocations, composability, and iterator-like interfaces

Logging

cratedescription
logOffical, to show message, it needs a implementation, recommend env_logger
tracingtrace, better for async programming development

Concurrency

cratedescription
tokiosuitable 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
rayonsuitable for CPU-intensive computing
reqwestsuitable for a small amout of requests
shadow-rsA build-time information stored in your rust project

System Utils

cratedescription
directories-rsprovides platform-specific, user-accessible locations
nixRust friendly bindings to *nix APIs

Terminal

cratedescription
nu-ansi-termLibrary for ANSI terminal colors and styles (bold, underline)
clapA simple to use, efficient, and full-featured Command Line Argument Parser
attyA simple interface for querying atty
rpasswordRead passwords in console applications.