From 3aceb4c147446ce7f37d4837e1fc1987261f335f Mon Sep 17 00:00:00 2001 From: Jrigada Date: Tue, 26 Nov 2024 12:57:40 -0300 Subject: [PATCH] Add missing rustls --- Cargo.lock | 1 + crates/forge/Cargo.toml | 1 + crates/forge/tests/it/test_helpers.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 352a6ee10..1fc7f01ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4499,6 +4499,7 @@ dependencies = [ "regex", "reqwest 0.12.9", "revm-inspectors", + "rustls 0.23.18", "semver 1.0.23", "serde", "serde_json", diff --git a/crates/forge/Cargo.toml b/crates/forge/Cargo.toml index cd30adeb6..3e9592ea9 100644 --- a/crates/forge/Cargo.toml +++ b/crates/forge/Cargo.toml @@ -104,6 +104,7 @@ watchexec-events = "3.0" watchexec-signals = "3.0" clearscreen = "3.0" evm-disassembler.workspace = true +rustls = { version = "0.23.17", features = ["ring"] } # doc server axum = { workspace = true, features = ["ws"] } diff --git a/crates/forge/tests/it/test_helpers.rs b/crates/forge/tests/it/test_helpers.rs index e11f0a160..0443f3a8b 100644 --- a/crates/forge/tests/it/test_helpers.rs +++ b/crates/forge/tests/it/test_helpers.rs @@ -247,6 +247,7 @@ impl ForgeTestData { pub fn new(profile: ForgeTestProfile) -> Self { init_tracing(); + let _ = rustls::crypto::ring::default_provider().install_default(); let mut project = profile.project(); let output = get_compiled(&mut project); let test_opts = profile.test_opts(&output);