Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update moka requirement from 0.11.0 to 0.12.0 #80

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ hyper = { version = "0.14.15", features = ["client", "http1", "server", "tcp"] }
hyper-rustls = { version = "0.24.0", default-features = false, features = ["http1", "logging", "tls12", "webpki-tokio"], optional = true }
hyper-tls = { version = "0.5.0", optional = true }
hyper-tungstenite = "0.11.1"
moka = { version = "0.11.0", features = ["future"], optional = true }
moka = { version = "0.12.0", features = ["future"], optional = true }
openssl = { version = "0.10.39", optional = true }
rand = { version = "0.8.0", optional = true }
rcgen = { version = "0.11.0", features = ["x509-parser"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/certificate_authority/openssl_authority.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl OpensslAuthority {
#[async_trait]
impl CertificateAuthority for OpensslAuthority {
async fn gen_server_config(&self, authority: &Authority) -> Arc<ServerConfig> {
if let Some(server_cfg) = self.cache.get(authority) {
if let Some(server_cfg) = self.cache.get(authority).await {
debug!("Using cached server config");
return server_cfg;
}
Expand Down
2 changes: 1 addition & 1 deletion src/certificate_authority/rcgen_authority.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl RcgenAuthority {
#[async_trait]
impl CertificateAuthority for RcgenAuthority {
async fn gen_server_config(&self, authority: &Authority) -> Arc<ServerConfig> {
if let Some(server_cfg) = self.cache.get(authority) {
if let Some(server_cfg) = self.cache.get(authority).await {
debug!("Using cached server config");
return server_cfg;
}
Expand Down