Learn Rust by 500 lines code
English | 中文
package/binary crate/library crate/mod/pub/use)Result/Option)if let , match ...)File Seek/Buffed File I/O)Use a local file $HOME/.rtd.csv store all data
Interesting fact: I use RTD to complete the RTD tutorial :)
If you like my tutorial, don't forget to give me a star~
linux environment, and Windows/MacOS are also supported. You can choose to download the corresponding Cargo according to your own operating system.Cargo Rust's package management and build tool, can be installed directly through the Rust official website rustup one line command. Then, all things will be done by Cargo, so cute, right?crate.io :cargo install rtd-tutorialgit repo :git clone https://github.com/cuppar/rtd.git
cargo install --path rtdrtd -h
rtd --helprtd -a
rtd --add rtd
rtd -l
rtd -l uncompleted
rtd --list
rtd --list uncompletedrtd -c
rtd --complete rtd -l completed
rtd --list completedrtd -u
rtd --uncomplete rtd -d
rtd --delete rtd -l deleted
rtd --list deletedrtd -r
rtd --restore rtd --destroy rtd --destroy-deletedrtd -l all
rtd --list allrtd --clearNo open issues yet, or sync has not completed.