orange-table-49219
04/30/2023, 8:56 PM.
├── Cargo.toml # workspace manifest
├── crates
│ └── crate1
└── crate2
crate1
and crate2
have other names in reality, and there are also more crates in crates/
but they are either unrelated.
I tried to initialize 2 different projects in this workspace. 1 in either crate.
sh
cd crates/crate1
# it would use my git repo's name by default for some reason
cargo shuttle project start --name <crate-name>
When going into either folder and running cargo shuttle run
, both projects would start up, which is kind of confusing. I tried forcing a single project via the --name
and --working-directory
flags on cargo shuttle run
but neither changed anything.
Is this intended? Either way, is there a way to manage the projects separately while they live in the same workspace?orange-table-49219
04/30/2023, 9:39 PMagreeable-painting-48846
04/30/2023, 9:53 PMorange-table-49219
04/30/2023, 10:04 PMorange-table-49219
04/30/2023, 10:04 PMCargo.toml
has both listed as membersorange-table-49219
04/30/2023, 10:04 PMagreeable-painting-48846
04/30/2023, 10:05 PMorange-table-49219
04/30/2023, 10:06 PMagreeable-painting-48846
04/30/2023, 10:08 PMorange-table-49219
04/30/2023, 10:09 PM