I have a project with several crates in one single workspace.
Is there any downside to having all dependencies defined in the workspace Cargo.toml
, even though the dependency is only used by a single crate?
As far as I can tell it should not impact compile time since the dependency has to be fetched/compiledpackage-managers either way (?).