In rust, I'm building out a crate that has multiple executables in the src/bin folder. For example:
|- src
| |- bin
| | |- app1.rs
| | |- app2.rs
| |- lib.rs
| |- other_shared_code.rs
|- Cargo.toml
Cargo manages this part all neatly, and I don't have to modify the Cargo.toml to make this work. However, is it possible to specify dependencies for a specific app? For instance, a console version and a GUI version (this is just an example, I have more specific reasons that do not need to be described).