Hacker News new | ask | show | jobs
by SAI_Peregrinus 81 days ago
Not particularly annoying. You type `cargo new [options] <path>`, probably with the `--lib` option for a library crate, and it makes a new crate at <path>. Then you open the created lib.rs & cargo.toml in your editor & start writing code.
1 comments

You end up with at least one extra level of directory nesting, and you have to manage a Cargo.toml for each crate?