It seems that, due to having only an index and repository that is built from installed packages, cargo is put at a disadvantage.
It seems that, under our eclass tooling, if a package declares an optional, or target specific dependency, cargo ends up requiring that package is installed, in order to provide merely the index data.
And even though this means the Cargo.lock file is updated to show these, they're not actually used .....
But this is enough to break things like cargo package, because it has to fetch the index data for all optional dependencies :/
It seems that, due to having only an index and repository that is built from installed packages, cargo is put at a disadvantage.
It seems that, under our eclass tooling, if a package declares an optional, or target specific dependency, cargo ends up requiring that package is installed, in order to provide merely the index data.
And even though this means the Cargo.lock file is updated to show these, they're not actually used .....
But this is enough to break things like
cargo package, because it has to fetch the index data for all optional dependencies :/