From 14f4102ecedcaad8b197a7d83873e55a4936bf05 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 1 Dec 2021 13:20:34 -0500 Subject: [PATCH] refactor: deno_tls does not depend on reqwest (#12961) --- Cargo.lock | 1 - ext/tls/Cargo.toml | 1 - ext/tls/lib.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2fe742071e..92b491b5e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -954,7 +954,6 @@ version = "0.14.0" dependencies = [ "deno_core", "lazy_static", - "reqwest", "rustls", "rustls-native-certs", "serde", diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index 9f5c788429..51040a7f14 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -16,7 +16,6 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.109.0", path = "../../core" } lazy_static = "1.4.0" -reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] } rustls = { version = "0.19.1", features = ["dangerous_configuration"] } rustls-native-certs = "0.5.0" serde = { version = "1.0.129", features = ["derive"] } diff --git a/ext/tls/lib.rs b/ext/tls/lib.rs index 91eb4c54b1..68bd2fcc18 100644 --- a/ext/tls/lib.rs +++ b/ext/tls/lib.rs @@ -1,6 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -pub use reqwest; pub use rustls; pub use rustls_native_certs; pub use webpki;