Declare garage crates using workspace.dependencies

This will allow to really disable "sled" feature without declaring
`default-features = false` in every Cargo.toml where garage_db and
garage_model is used.

See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
This commit is contained in:
Jakub Jirutka
2023-05-07 18:12:01 +02:00
committed by Alex
parent 8499cd5c21
commit d2deee0b8b
10 changed files with 42 additions and 32 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ tokio = "1.24"
# cli deps
clap = { version = "4.1", optional = true, features = ["derive", "env"] }
garage_util = { version = "0.8.2", path = "../util", optional = true }
garage_util = { workspace = true, optional = true }
[features]