Currently workspace members only get added to workspace_packages once there have been number of members before it with the same dependency, meaning that all those before it have NOT been added to the list (give or take reaching number on another dependency), leading to some Cargo.toml files being skipped even though one or more of their dependencies were added to [workspace.dependencies].
For example, running on our codebase with --number 20 leads to about 17 crates not having glam = "someversion" replaced with glam = { workspace = true }!
Depends on #21
Currently workspace members only get added to
workspace_packages
once there have beennumber
of members before it with the same dependency, meaning that all those before it have NOT been added to the list (give or take reachingnumber
on another dependency), leading to someCargo.toml
files being skipped even though one or more of their dependencies were added to[workspace.dependencies]
.For example, running on our codebase with
--number 20
leads to about 17 crates not havingglam = "someversion"
replaced withglam = { workspace = true }
!