aboutsummaryrefslogtreecommitdiff
path: root/src/api
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/api
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/api')
-rw-r--r--src/api/Cargo.toml10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/api/Cargo.toml b/src/api/Cargo.toml
index 9babec02..747f70ab 100644
--- a/src/api/Cargo.toml
+++ b/src/api/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_model = { version = "0.8.2", path = "../model" }
-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_rpc = { version = "0.8.2", path = "../rpc" }
+garage_model.workspace = true
+garage_table.workspace = true
+garage_block.workspace = true
+garage_util.workspace = true
+garage_rpc.workspace = true
async-trait = "0.1.7"
base64 = "0.21"