aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
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 /Cargo.toml
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 'Cargo.toml')
-rw-r--r--Cargo.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a9fd4423..386804f6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,6 +15,16 @@ members = [
default-members = ["src/garage"]
+[workspace.dependencies]
+garage_api = { version = "0.8.2", path = "src/api" }
+garage_block = { version = "0.8.2", path = "src/block" }
+garage_db = { version = "0.8.2", path = "src/db" }
+garage_model = { version = "0.8.2", path = "src/model" }
+garage_rpc = { version = "0.8.2", path = "src/rpc" }
+garage_table = { version = "0.8.2", path = "src/table" }
+garage_util = { version = "0.8.2", path = "src/util" }
+garage_web = { version = "0.8.2", path = "src/web" }
+
[profile.dev]
lto = "off"