du

Crates.iodu
lib.rsdu
version0.1.1
sourcesrc
created_at2016-05-14 04:04:34.117459
updated_at2016-05-15 09:09:15.092988
descriptionImplementing du -sb in order to learn Rust
homepage
repositoryhttps://github.com/rockymeza/rust-du
max_upload_size
id5062
size4,982
Rocky Meza (rockymeza)

documentation

README

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

Commit count: 3

cargo fmt