aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/admin/Cargo.toml3
-rw-r--r--src/api/common/Cargo.toml3
-rw-r--r--src/api/k2v/Cargo.toml10
3 files changed, 8 insertions, 8 deletions
diff --git a/src/api/admin/Cargo.toml b/src/api/admin/Cargo.toml
index 55767dcf..adddf306 100644
--- a/src/api/admin/Cargo.toml
+++ b/src/api/admin/Cargo.toml
@@ -4,7 +4,7 @@ version = "1.0.1"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2018"
license = "AGPL-3.0"
-description = "S3 API server crate for the Garage object store"
+description = "Admin API server crate for the Garage object store"
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
readme = "../../README.md"
@@ -19,6 +19,7 @@ garage_table.workspace = true
garage_util.workspace = true
garage_rpc.workspace = true
garage_api_common.workspace = true
+
argon2.workspace = true
async-trait.workspace = true
err-derive.workspace = true
diff --git a/src/api/common/Cargo.toml b/src/api/common/Cargo.toml
index eea43efe..842662c4 100644
--- a/src/api/common/Cargo.toml
+++ b/src/api/common/Cargo.toml
@@ -4,7 +4,7 @@ version = "1.0.1"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2018"
license = "AGPL-3.0"
-description = "S3 API server crate for the Garage object store"
+description = "Common functions for the API server crates for the Garage object store"
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
readme = "../../README.md"
@@ -17,6 +17,7 @@ path = "lib.rs"
garage_model.workspace = true
garage_table.workspace = true
garage_util.workspace = true
+
async-trait.workspace = true
bytes.workspace = true
chrono.workspace = true
diff --git a/src/api/k2v/Cargo.toml b/src/api/k2v/Cargo.toml
index 01376020..d4e26efa 100644
--- a/src/api/k2v/Cargo.toml
+++ b/src/api/k2v/Cargo.toml
@@ -4,7 +4,7 @@ version = "1.0.1"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2018"
license = "AGPL-3.0"
-description = "S3 API server crate for the Garage object store"
+description = "K2V API server crate for the Garage object store"
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
readme = "../../README.md"
@@ -14,10 +14,11 @@ path = "lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-garage_model.workspace = true
+garage_model = { workspace = true, features = [ "k2v" ] }
garage_table.workspace = true
-garage_util.workspace = true
+garage_util = { workspace = true, features = [ "k2v" ] }
garage_api_common.workspace = true
+
async-trait.workspace = true
base64.workspace = true
err-derive.workspace = true
@@ -35,6 +36,3 @@ serde.workspace = true
serde_json.workspace = true
opentelemetry.workspace = true
-
-[features]
-default = [ "garage_util/k2v", "garage_model/k2v" ]