diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-21 23:10:13 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-03-14 10:53:00 +0100 |
commit | f0d0cd9a20979f59db246e6a545ddc1b7bbb20b3 (patch) | |
tree | 434ab758dd73b0ef78a511cef39df53dc580b3f1 /src/api/s3_router.rs | |
parent | 55d44715998d01563fe830d1dbc35745bc9427bf (diff) | |
download | garage-f0d0cd9a20979f59db246e6a545ddc1b7bbb20b3.tar.gz garage-f0d0cd9a20979f59db246e6a545ddc1b7bbb20b3.zip |
Remove strum crate dependency; add protobuf nix dependency
Diffstat (limited to 'src/api/s3_router.rs')
-rw-r--r-- | src/api/s3_router.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/api/s3_router.rs b/src/api/s3_router.rs index c325805d..95a7eceb 100644 --- a/src/api/s3_router.rs +++ b/src/api/s3_router.rs @@ -5,8 +5,6 @@ use std::borrow::Cow; use hyper::header::HeaderValue; use hyper::{HeaderMap, Method, Request}; -use strum_macros::Display; - /// This macro is used to generate very repetitive match {} blocks in this module /// It is _not_ made to be used anywhere else macro_rules! s3_match { @@ -135,7 +133,7 @@ s3_match! {@func /// query parameters). Parameters it may receive by header are left out, however headers are /// considered when required to determine between one endpoint or another (for CopyObject and /// UploadObject, for instance). -#[derive(Debug, Clone, PartialEq, Eq, Display)] +#[derive(Debug, Clone, PartialEq, Eq)] pub enum Endpoint { AbortMultipartUpload { key: String, |