This adds a test running on a generic workspace, specifically covering the mixed-content workspace. Right now, we expect cargo-dist to only cover the generic half and not be able to find the other half.
I duplicated the "patch Cargo.toml" logic because the structure is a bit different and I didn't feel like genericizing the original method at this point.
This doesn't actually work yet: the output indicates that it patched dist-workspace.toml with the expected content, but the cargo build acts like it's working on the unpatched file. I'm sure I missed something obvious I'll see in the morning.
This adds a test running on a generic workspace, specifically covering the mixed-content workspace. Right now, we expect cargo-dist to only cover the generic half and not be able to find the other half.
I duplicated the "patch Cargo.toml" logic because the structure is a bit different and I didn't feel like genericizing the original method at this point.
This doesn't actually work yet: the output indicates that it patched
dist-workspace.toml
with the expected content, but the cargo build acts like it's working on the unpatched file. I'm sure I missed something obvious I'll see in the morning.