A better `ls` in Rust
bekk.christmas
A better `ls` in Rust
1–5 of 5 posts
Re: A better `ls` in Rust
#2So if I understand it correctly:
- It's not actually better than ls:
> ignoring the permissions and author of the files (because who cares about those)
- Most of the heavy lifting is done by walkdir.
A better title may have been "The walkdir crate is awesome".
Re: A better `ls` in Rust
#3So if I understand it correctly: - It's not actually better than ls : > ignoring the permissions and author of the files (because who cares about those) - Most of the heavy lifting is done by walkdir . A better title may have been "The walkdir crate is awesome".
Plus the clap crate. We could make all of this a crate and have the same ls in less than 10 lines
Re: A better `ls` in Rust
#4Better (as long as you ignore all the missing features) and only 100 lines (as long as you don't include the 3rd party libraries that do the heavy lifting).
Re: A better `ls` in Rust
#5I don't get the negativity, looks like a self ironic Rust tutorial to me, which may be quite useful to Rust beginners.