aboutsummaryrefslogtreecommitdiff
path: root/src/api/signature/mod.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-13 15:43:44 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-13 15:43:44 +0200
commitec16d166f940f59098ae5cc0c0b3d8298f1bcc78 (patch)
tree3dc5a6c7e655df875aa12aa86b6316f7948d51c1 /src/api/signature/mod.rs
parent7a5d329e49cc7018cbfa14d37589f51860f66cf0 (diff)
downloadgarage-ec16d166f940f59098ae5cc0c0b3d8298f1bcc78.tar.gz
garage-ec16d166f940f59098ae5cc0c0b3d8298f1bcc78.zip
Separate error types for k2v and signature
Diffstat (limited to 'src/api/signature/mod.rs')
-rw-r--r--src/api/signature/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/signature/mod.rs b/src/api/signature/mod.rs
index 4679747f..dd5b590c 100644
--- a/src/api/signature/mod.rs
+++ b/src/api/signature/mod.rs
@@ -4,11 +4,12 @@ use sha2::Sha256;
use garage_util::data::{sha256sum, Hash};
-use crate::s3::error::*;
-
+pub mod error;
pub mod payload;
pub mod streaming;
+use error::*;
+
pub const SHORT_DATE: &str = "%Y%m%d";
pub const LONG_DATETIME: &str = "%Y%m%dT%H%M%SZ";