Skip to content

Commit

Permalink
Rerun
Browse files Browse the repository at this point in the history
  • Loading branch information
kushudai committed Jul 20, 2024
1 parent b04f308 commit 881cb1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ tokio = { version = "1", features = ["full"] }
ureq = { version = "2", features = ["json"] }

[dev-dependencies]
rustls = { version = "0.23", features = ["ring"] }
rustls = { version = "0.23", features = ["ring"] }
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,7 @@ fn record_duration_metric_if_enabled(_method: &Method, _function: &str, _duratio
mod tests {
use std::time::Duration;

use rustls::crypto::ring::default_provider;
use tokio::time::sleep;

use super::*;
Expand Down Expand Up @@ -1334,7 +1335,7 @@ mod tests {
}

fn get_client() -> Consul {
rustls::crypto::ring::default_provider()
default_provider()
.install_default()
.expect("Failed to install rustls crypto provider");
let conf: Config = Config::from_env();
Expand Down

0 comments on commit 881cb1b

Please sign in to comment.