#learning #order #learn #arguments-parser #sb

bin+lib du

Implementing du -sb in order to learn Rust

2 releases

Uses old Rust 2015

0.1.1 May 15, 2016
0.1.0 May 14, 2016

#99 in #learn

26 downloads per month

MIT license

3KB

rust-du

This is just an implementation of du -sb in Rust so that I can play around with learning Rust.

Some things that doing this project allowed me touch on in Rust:

  • Error Handling

    • with the try! macro calls in lib.rs
    • with pattern matching inside the main function
    • and some unwraps, sprinkled around the place
  • Argument Parsing

  • Generic Code

  • Testing

  • Packaging

Dependencies

~140KB