Skip to content

Commit

Permalink
chore(command): bump dependencies
Browse files Browse the repository at this point in the history
* Bump anyhow to 1.0.71
* Bump libc to 0.2.142
* Bump time to 0.3.20
* Bump toml to 0.7.3
* Bump mio to 0.8.6
* Bump pem to 2.0.1
* Bump prost to 0.11.9
* Bump serde to 1.0.160
* Bump serde_json to 1.0.96

Signed-off-by: Florentin Dubois <florentin.dubois@clever-cloud.com>
  • Loading branch information
FlorentinDUBOIS committed May 3, 2023
1 parent 5698e14 commit c7fd33d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions command/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ include = [
]

[dependencies]
anyhow = "^1.0.69"
anyhow = "^1.0.71"
hex = "^0.4.3"
libc = "^0.2.139"
libc = "^0.2.142"
log = "^0.4.17"
time = "^0.3.17"
toml = "^0.7.1"
time = "^0.3.20"
toml = "^0.7.3"
memchr = "^2.5.0"
mio = { version = "^0.8.5", features = ["os-poll", "net"] }
mio = { version = "^0.8.6", features = ["os-poll", "net"] }
nix = "^0.26.2"
nom = "^7.1.3"
pem = "^1.1.1"
prost = "^0.11.8"
pem = "^2.0.1"
prost = "^0.11.9"
rand = "^0.8.5"
serde = { version = "^1.0.152", features = ["derive"] }
serde_json = "^1.0.92"
serde = { version = "^1.0.160", features = ["derive"] }
serde_json = "^1.0.96"
sha2 = "^0.10.6"
trailer = "^0.1.2"
pool = "^0.1.4"
Expand Down
2 changes: 1 addition & 1 deletion command/src/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl<'de> serde::Deserialize<'de> for Fingerprint {

pub fn calculate_fingerprint(certificate: &[u8]) -> anyhow::Result<Vec<u8>> {
let parsed_certificate = parse(certificate).with_context(|| "Can not parse certificate")?;
let fingerprint = Sha256::digest(parsed_certificate.contents)
let fingerprint = Sha256::digest(parsed_certificate.contents())
.iter()
.cloned()
.collect();
Expand Down

0 comments on commit c7fd33d

Please sign in to comment.