aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-21 14:25:54 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-21 14:25:54 +0100
commitc1fb65194cf337c6291458b13a789d7bec1d18b7 (patch)
tree77dd98e02cfc0a7289dd685a2bf2c24ffb29c381 /src
parent67941000ee2cd40b13a7578260458ca3f5335d4a (diff)
downloadgarage-c1fb65194cf337c6291458b13a789d7bec1d18b7.tar.gz
garage-c1fb65194cf337c6291458b13a789d7bec1d18b7.zip
Add sled default in garage_model also
Diffstat (limited to 'src')
-rw-r--r--src/model/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/Cargo.toml b/src/model/Cargo.toml
index 2c2e2bfe..08baf81f 100644
--- a/src/model/Cargo.toml
+++ b/src/model/Cargo.toml
@@ -14,7 +14,7 @@ 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.0", path = "../db" }
+garage_db = { version = "0.8.0", default-features = false, path = "../db" }
garage_rpc = { version = "0.8.0", path = "../rpc" }
garage_table = { version = "0.8.0", path = "../table" }
garage_block = { version = "0.8.0", path = "../block" }
@@ -42,6 +42,7 @@ opentelemetry = "0.17"
netapp = "0.5"
[features]
+default = [ "sled" ]
k2v = [ "garage_util/k2v" ]
lmdb = [ "garage_db/lmdb" ]
sled = [ "garage_db/sled" ]