From 67941000ee2cd40b13a7578260458ca3f5335d4a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 21 Nov 2022 14:08:21 +0100 Subject: put sled as default feature in garage_db --- src/db/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/db/Cargo.toml b/src/db/Cargo.toml index 62dda2ca..82cf49dc 100644 --- a/src/db/Cargo.toml +++ b/src/db/Cargo.toml @@ -33,6 +33,7 @@ pretty_env_logger = { version = "0.4", optional = true } mktemp = "0.4" [features] +default = [ "sled" ] bundled-libs = [ "rusqlite/bundled" ] cli = ["clap", "pretty_env_logger"] lmdb = [ "heed" ] -- cgit v1.2.3 From c1fb65194cf337c6291458b13a789d7bec1d18b7 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 21 Nov 2022 14:25:54 +0100 Subject: Add sled default in garage_model also --- src/model/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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" ] -- cgit v1.2.3