Rust Standard Library Cookbook
上QQ阅读APP看书,第一时间看更新

Reading from stdin

If you want to create an interactive application, it's easy to prototype your functionality with the command line. For CLI programs, this will be all the interaction you need.