Skip to content

Commit a86dcce

Browse files
committed
Do not include optional crates that are not selected features
nalgebra released version 0.34 with a bunch of optional dependencies that are not enabled by default[1]. The previous code didn't account for non-selected optional dependencies, so it was pulling in all of those versions. This rework was required in order to get access to Cargo's "feature resolver", which is the part we need to query to see if a dependency is active or not. Unfortunately, this required that we have a workspace and thus physical files on disk, which means that the overall implementation is much less elegant. [1]: https://crates.io/crates/nalgebra/0.34.0/dependencies
1 parent 07d0c10 commit a86dcce

File tree

3 files changed

+447
-440
lines changed

3 files changed

+447
-440
lines changed

0 commit comments

Comments
 (0)