Skip to content

Commit

Permalink
Merge pull request #6 from CleverCloud/chore/dependencies
Browse files Browse the repository at this point in the history
chore: update dependencies
  • Loading branch information
FlorentinDUBOIS authored Dec 13, 2021
2 parents d98676c + 306bf4e commit 9ff67a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,22 @@ keywords = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
async-trait = { version = "^0.1.51", optional = true }
async-trait = { version = "^0.1.52", optional = true }
base64 = { version = "^0.13.0", optional = true }
bytes = { version = "^1.1.0", features = ["serde"], optional = true }
hmac = { version = "^0.11.0", features = ["std"], optional = true }
hyper = { version = "^0.14.15", default-features = false, optional = true }
crypto-common = "^0.1.0"
hmac = { version = "^0.12.0", features = ["std"], optional = true }
hyper = { version = "^0.14.16", default-features = false, optional = true }
hyper-tls = { version = "^0.5.0", optional = true }
lazy_static = { version = "^1.4.0", optional = true }
log = { version = "^0.4.14", optional = true }
prometheus = { version = "^0.13.0", optional = true }
serde = { version = "^1.0.130", features = ["derive"], optional = true }
serde_json = { version = "^1.0.71", features = [
serde = { version = "^1.0.131", features = ["derive"], optional = true }
serde_json = { version = "^1.0.72", features = [
"preserve_order",
"float_roundtrip",
], optional = true }
sha2 = { version = "^0.9.8", optional = true }
sha2 = { version = "^0.10.0", optional = true }
thiserror = { version = "^1.0.30", optional = true }
tracing = { version = "^0.1.29", optional = true }
tracing-futures = { version = "^0.2.5", optional = true }
Expand Down
5 changes: 3 additions & 2 deletions src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ use std::{

use async_trait::async_trait;
use bytes::Buf;
use hmac::{crypto_mac::InvalidKeyLength, Hmac, Mac, NewMac};
use crypto_common::InvalidLength;
use hmac::{Hmac, Mac};
use hyper::{
client::{connect::dns::GaiResolver, HttpConnector},
header, Body, Method, StatusCode,
Expand Down Expand Up @@ -195,7 +196,7 @@ impl Error for ResponseError {}
#[derive(thiserror::Error, Debug)]
pub enum SignerError {
#[error("failed to compute invalid key length, {0}")]
Digest(InvalidKeyLength),
Digest(InvalidLength),
#[error("failed to compute time since unix epoch, {0}")]
UnixEpochTime(SystemTimeError),
#[error("failed to parse signature paramater, {0}")]
Expand Down

0 comments on commit 9ff67a5

Please sign in to comment.