aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2023-05-07 18:12:01 +0200
committerAlex <alex@adnab.me>2023-05-09 08:46:15 +0000
commitd2deee0b8bc22de5e8f1115f65a8a979b1beba18 (patch)
treecf10ec13bb72f9ad0aa806030f92c02549a88e47 /src/model
parent8499cd5c21f336111160b437d11d16fede67a916 (diff)
downloadgarage-d2deee0b8bc22de5e8f1115f65a8a979b1beba18.tar.gz
garage-d2deee0b8bc22de5e8f1115f65a8a979b1beba18.zip
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
Diffstat (limited to 'src/model')
-rw-r--r--src/model/Cargo.toml10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/model/Cargo.toml b/src/model/Cargo.toml
index 2b525a42..6dc954d4 100644
--- a/src/model/Cargo.toml
+++ b/src/model/Cargo.toml
@@ -14,11 +14,11 @@ path = "lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-garage_db = { version = "0.8.2", default-features = false, path = "../db" }
-garage_rpc = { version = "0.8.2", path = "../rpc" }
-garage_table = { version = "0.8.2", path = "../table" }
-garage_block = { version = "0.8.2", path = "../block" }
-garage_util = { version = "0.8.2", path = "../util" }
+garage_db.workspace = true
+garage_rpc.workspace = true
+garage_table.workspace = true
+garage_block.workspace = true
+garage_util.workspace = true
async-trait = "0.1.7"
arc-swap = "1.0"