Situation:
- A workspace is composed of two packages:
a and b.
b depends on the crate smallvec.
- The workspace has a section mentioning
[profile.dev.package] smallvec = { opt-level = 3 }.
When running cargo install --path ./a, I'm getting a warning:
warning: profile package spec `smallvec` in profile `dev` did not match any packages
This warning is printed as the package a doesn't depend on smallvec.
Running cargo install --path ./b works fine.
I believe that this is an issue with Cargo, as I don't think that there's a clean way to silence this warning.
Situation:
aandb.bdepends on the cratesmallvec.[profile.dev.package] smallvec = { opt-level = 3 }.When running
cargo install --path ./a, I'm getting a warning:This warning is printed as the package
adoesn't depend onsmallvec.Running
cargo install --path ./bworks fine.I believe that this is an issue with Cargo, as I don't think that there's a clean way to silence this warning.