Simplify Cargo.toml dependencies
Still need two copies of the dependencies, but at least they're in one place now.
This commit is contained in:
+5
-2
@@ -10,9 +10,12 @@ members = [
|
||||
"client",
|
||||
]
|
||||
|
||||
#[workspace.dependencies]
|
||||
#clap = { version = "4.5.20", features = ["derive"] }
|
||||
[workspace.dependencies]
|
||||
clap = { version = "4.5.20", features = ["derive"] }
|
||||
common = { path = "common" }
|
||||
|
||||
# Why do I need a [dependencies] that duplicates the [workspace.dependencies]?
|
||||
# without this it doesn't work.
|
||||
[dependencies]
|
||||
clap = { version = "4.5.20", features = ["derive"] }
|
||||
common = { path = "common" }
|
||||
|
||||
Reference in New Issue
Block a user