You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stacker and psm crates are both part of the same repository, but they do not form a workspace. I tried publishing psm but cargo went on to try and publish a wrong crate (stacker).
Steps
Construct a setup similar to how stacker repository is structured. 1 crate at the top level (stacker) and another as a subdirectory (psm);
cd wherever-stacker-is;
cargo publish -p psm.
Possible Solution(s)
Cargo perhaps should return an error, or publish the specified crate.
Notes
Interestingly, cargo test -p psm does the right thing despite there being no workspace.