rust-cookbook
rust-cookbook copied to clipboard
[wishlist] Include a reference to `cargo.toml`
Including a reference to the books cargo.toml file would be helpful with trying out the examples.
Link to cargo.toml
For example: somewhere in About/How to use the recipes
This dependency took some Googling to find out. I just never realized I could find the cargo file in the repo. 🤦♂️
tokio = { version = "0.2", features = ["full"] }
Could you provide a rough draft of what kind of information you'd like to include?
I think we can embed the Cargo.toml file within about.md in the How to use recipes section by using {{#link ../../Cargo.toml}} but we should also add a note about features in the recipes that require it (I know the new async recipes need features = ["full"] added to the recipe description).