Useful Crates - Learning the Rust Ecosystem
Вставка
- Опубліковано 5 лют 2025
- Matt Davies walks us through some top crates in the Rust Ecosystem, hosted on crates.io.
He gives us a whistle stop tour of:
1. log - lightweight logging facade to provide a consistent API for different logging implementations
2. env_logger - A simple logging crate, implementing the facade provided by the log crate, which can be configured via environment variables
3. chrono - for all your time keeping needs
4. uuid - generates and parses UUIDs (standard 128 bit universally unique identifiers)
5. rand - for all your random needs
6. bitflags - typesafe bitmask flag generator useful for sets of C-style bitmask flags
7. tinyvec - provides useful speedy and sometimes stack allocated vec like data structures
8. dirs - for all your cross platform directory needs
9. itertools - all the extra iterator bells and whistles you could need
10. anyhow - allows you to easily propagate any error that implements the `std::error::Error` trait
11. tap - provides extensions to allow you to conveniently insert debugging or modification points into an expression without changing the surrounding code (tapping the expression, like you would tap a phone)
12. rayon - for work stealing data-parallelism
13. colored - adding pretty colors to your terminal
Presenter(s): Matt Davies
Meetup info:
This was a recording of a virtual meetup. For information about future events join our meetup group: www.meetup.com...
You can also find us on discord, drop us a message to be sent the link.
Big thank you to Esri for sponsoring our meetup page
thanks for this! chrono is is not being maintained anymore and its recommended to use the `time` crate now
thanks