Update a few dependencies (#40)
All checks were successful
continuous-integration/drone/push Build is passing

Unable to update rustls for now (`actix-web` depends on a too old version of `rustls`)

Reviewed-on: #40
This commit is contained in:
Pierre HUBERT 2023-04-11 12:37:48 +00:00
parent a3052e08e7
commit e7d5bac8db
3 changed files with 362 additions and 242 deletions

598
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -16,8 +16,8 @@ serde = { version = "1.0.159", features = ["derive"] }
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
futures = "0.3.25" futures = "0.3.25"
webpki = "0.22.0" webpki = "0.22.0"
x509-parser = "0.14.0" x509-parser = "0.15.0"
pem = "1.1.1" pem = "2.0.1"
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false } reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
tokio-tungstenite = { version = "0.18.0", features = ["__rustls-tls", "rustls-tls-native-roots"] } tokio-tungstenite = { version = "0.18.0", features = ["__rustls-tls", "rustls-tls-native-roots"] }
urlencoding = "2.1.2" urlencoding = "2.1.2"

View File

@ -55,7 +55,7 @@ impl CustomCertClientVerifier {
let parsed_crl = pem::parse(crl_file) let parsed_crl = pem::parse(crl_file)
.map_err(|e| encpasulate_error(e, "Failed to decode CRL file!"))?; .map_err(|e| encpasulate_error(e, "Failed to decode CRL file!"))?;
Some(parsed_crl.contents) Some(parsed_crl.into_contents())
} else { } else {
None None
}; };