aboutsummaryrefslogtreecommitdiff
path: root/src/api/k2v
diff options
context:
space:
mode:
authorAlex Auvolat <lx@deuxfleurs.fr>2025-02-05 21:00:19 +0100
committerAlex Auvolat <lx@deuxfleurs.fr>2025-02-05 21:00:19 +0100
commit61f3de649646d098812e6ddb814e20ce7e66ad94 (patch)
tree599160faf816af40b9efcddf14d797fc5ebbcb09 /src/api/k2v
parent71655c1e89b87fa009d1c5a56448b2fe7df05c49 (diff)
parentd3226bfa91d4500063c5c287c6256729dcbb3f88 (diff)
downloadgarage-61f3de649646d098812e6ddb814e20ce7e66ad94.tar.gz
garage-61f3de649646d098812e6ddb814e20ce7e66ad94.zip
Merge branch 'main' into next-v2
Diffstat (limited to 'src/api/k2v')
-rw-r--r--src/api/k2v/Cargo.toml1
-rw-r--r--src/api/k2v/api_server.rs3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/api/k2v/Cargo.toml b/src/api/k2v/Cargo.toml
index d4e26efa..e3ebedca 100644
--- a/src/api/k2v/Cargo.toml
+++ b/src/api/k2v/Cargo.toml
@@ -19,7 +19,6 @@ garage_table.workspace = true
garage_util = { workspace = true, features = [ "k2v" ] }
garage_api_common.workspace = true
-async-trait.workspace = true
base64.workspace = true
err-derive.workspace = true
tracing.workspace = true
diff --git a/src/api/k2v/api_server.rs b/src/api/k2v/api_server.rs
index c562ffe0..015fd687 100644
--- a/src/api/k2v/api_server.rs
+++ b/src/api/k2v/api_server.rs
@@ -1,8 +1,6 @@
use std::borrow::Cow;
use std::sync::Arc;
-use async_trait::async_trait;
-
use hyper::{body::Incoming as IncomingBody, Method, Request, Response};
use tokio::sync::watch;
@@ -49,7 +47,6 @@ impl K2VApiServer {
}
}
-#[async_trait]
impl ApiHandler for K2VApiServer {
const API_NAME: &'static str = "k2v";
const API_NAME_DISPLAY: &'static str = "K2V";