`cargo`: Duplicate dependencies
Using cargo tree -d
, we can see that the following dependencies are duplicated:
-
env_logger
: v0.7.1 and v0.9.0 -
hashbrown
: v0.12.3 and v0.14.3 -
humantime
: v1.3.0 and v2.1.0 -
syn
: v1.0.98 and v2.0.39 -
toml
: v0.5.8 and v0.8.8
This is mainly due to the fact that there are multiple Cargo.toml
listing dependencies.
We should use the workspace.dependencies
feature.
Edited by Vincent Lafeychine