Use RustCrypto TLS provider so we don't need to depend on LLVM

This commit is contained in:
Simon Fondrie-Teitler
2025-06-27 11:44:35 -04:00
parent 2c05f3d94e
commit 1d50440c85
4 changed files with 413 additions and 102 deletions
+2 -1
View File
@@ -56,5 +56,6 @@ simple_logger = "5.0.0"
async_zip = { version = "0.0.17", features = ["tokio"] }
anyhow = "1.0.98"
reqwest = { version = "0.12.20", default-features = false, features = [
"rustls-tls",
"rustls-tls-webpki-roots-no-provider",
] }
rustls-rustcrypto = "0.0.2-alpha"
+4
View File
@@ -187,6 +187,10 @@ fn run_shutdown_thread(
async fn main() -> Result<(), RayhunterError> {
env_logger::init();
rustls_rustcrypto::provider()
.install_default()
.expect("Couldn't install rustcrypto provider");
let args = parse_args();
loop {