![](/style/images/good.png)
![](/style/images/bad.png)
List of must-use libraries and tools for Rust
source link: https://dpc.pw/list-of-must-use-libraries-and-tools-for-rust
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
List of must-use libraries and tools for Rust
June 6, 2019I'll be updating this post in the future. It is mostly for my record keeping.
ifmt
– string interpolation
https://github.com/ct-austin/ifmt
let four = 4;
iprintln!("four plus four is: {four + 4}");
// four plus four is: 8
iprintln!("here's a hex number: 0x{0xb0bi64 * 1321517i64 :x}");
// here's a hex number: 0xdeadbeef
iprintln!("here's a debugging value: {Some(four):?}");
// here's a debugging value: Some(4)
crossbeam
– all things for concurrent programming
https://github.com/crossbeam-rs/crossbeam
termion
– terminal handling
https://github.com/redox-os/termion
typed-builder
– macros for builder pattern
https://crates.io/crates/typed-builder
resiter
– methods for working with iterators of Result
s
https://github.com/matthiasbeyer/resiter
scopeguard
– like D'sscope
or Go's defer
https://crates.io/crates/scopeguard
owning_ref
– Manipulate a reference, while keeping ownership of the original
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK