aboutsummaryrefslogtreecommitdiff
path: root/src/db/Cargo.toml
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-05 13:02:02 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-05 13:02:02 +0100
commitfe1af5d98b8e6c87f39f1d94586e61bff100e7d2 (patch)
tree188d7487cc699cc521ab46c5e06d86216edf6a3f /src/db/Cargo.toml
parentf65da26ae2627383c47b80f78f6bce54eb74d525 (diff)
downloadgarage-fe1af5d98b8e6c87f39f1d94586e61bff100e7d2.tar.gz
garage-fe1af5d98b8e6c87f39f1d94586e61bff100e7d2.zip
[dep-upgrade-202402] refactor dependencies: move all as workspace deps
Diffstat (limited to 'src/db/Cargo.toml')
-rw-r--r--src/db/Cargo.toml19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/db/Cargo.toml b/src/db/Cargo.toml
index 470135db..9a925136 100644
--- a/src/db/Cargo.toml
+++ b/src/db/Cargo.toml
@@ -12,24 +12,19 @@ readme = "../../README.md"
path = "lib.rs"
[dependencies]
-err-derive = "0.3"
-hexdump = "0.1"
-tracing = "0.1"
+err-derive.workspace = true
+hexdump.workspace = true
+tracing.workspace = true
-heed = { version = "0.11", default-features = false, features = ["lmdb"], optional = true }
-rusqlite = { version = "0.29", optional = true }
-sled = { version = "0.34", optional = true }
-
-# cli deps
-clap = { version = "4.1", optional = true, features = ["derive", "env"] }
-pretty_env_logger = { version = "0.5", optional = true }
+heed = { workspace = true, optional = true }
+rusqlite = { workspace = true, optional = true }
+sled = { workspace = true, optional = true }
[dev-dependencies]
-mktemp = "0.5"
+mktemp.workspace = true
[features]
default = [ "sled", "lmdb", "sqlite" ]
bundled-libs = [ "rusqlite?/bundled" ]
-cli = ["clap", "pretty_env_logger"]
lmdb = [ "heed" ]
sqlite = [ "rusqlite" ]