mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-25 16:58:10 -07:00
Use RustCrypto TLS provider so we don't need to depend on LLVM
This commit is contained in:
+2
-1
@@ -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"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user