Fix tests

This commit is contained in:
Alex Auvolat 2022-07-22 18:55:52 +02:00
parent 2cad656a03
commit 381eb9a5a1
No known key found for this signature in database
GPG Key ID: 0E496D15096376BE
3 changed files with 5 additions and 22 deletions

22
Cargo.lock generated
View File

@ -618,16 +618,6 @@ dependencies = [
"subtle", "subtle",
] ]
[[package]]
name = "crypto-mac"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bff07008ec701e8028e2ceb8f83f0e4274ee62bd2dbdc4fefff2e9a91824081a"
dependencies = [
"generic-array",
"subtle",
]
[[package]] [[package]]
name = "crypto-mac" name = "crypto-mac"
version = "0.11.1" version = "0.11.1"
@ -1006,7 +996,7 @@ dependencies = [
"garage_util 0.7.0", "garage_util 0.7.0",
"garage_web", "garage_web",
"hex", "hex",
"hmac 0.10.1", "hmac 0.12.1",
"http", "http",
"hyper", "hyper",
"kuska-sodiumoxide", "kuska-sodiumoxide",
@ -1510,16 +1500,6 @@ dependencies = [
"itertools 0.4.19", "itertools 0.4.19",
] ]
[[package]]
name = "hmac"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15"
dependencies = [
"crypto-mac 0.10.1",
"digest 0.9.0",
]
[[package]] [[package]]
name = "hmac" name = "hmac"
version = "0.11.0" version = "0.11.0"

View File

@ -63,7 +63,7 @@ prometheus = "0.13"
aws-sdk-s3 = "0.8" aws-sdk-s3 = "0.8"
chrono = "0.4" chrono = "0.4"
http = "0.2" http = "0.2"
hmac = "0.10" hmac = "0.12"
hyper = { version = "0.14", features = ["client", "http1", "runtime"] } hyper = { version = "0.14", features = ["client", "http1", "runtime"] }
sha2 = "0.10" sha2 = "0.10"

View File

@ -3,5 +3,8 @@ mod common;
mod admin; mod admin;
mod bucket; mod bucket;
#[cfg(feature="k2v")]
mod k2v; mod k2v;
mod s3; mod s3;