diff --git a/Cargo.lock b/Cargo.lock index 04123730..53572091 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1363,20 +1363,6 @@ dependencies = [ "want", ] -[[package]] -name = "hyper-rustls" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" -dependencies = [ - "futures-util", - "http 0.2.12", - "hyper 0.14.32", - "rustls 0.21.12", - "tokio", - "tokio-rustls 0.24.1", -] - [[package]] name = "hyper-rustls" version = "0.27.9" @@ -1820,7 +1806,7 @@ dependencies = [ "evmap", "http-body-util", "hyper 1.10.1", - "hyper-rustls 0.27.9", + "hyper-rustls", "hyper-util", "indexmap 2.14.0", "ipnet", @@ -2700,7 +2686,6 @@ dependencies = [ "http 0.2.12", "http-body 0.4.6", "hyper 0.14.32", - "hyper-rustls 0.24.2", "hyper-tls", "ipnet", "js-sys", @@ -2710,7 +2695,6 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", - "rustls 0.21.12", "rustls-pemfile 1.0.4", "serde", "serde_json", @@ -2719,13 +2703,11 @@ dependencies = [ "system-configuration", "tokio", "tokio-native-tls", - "tokio-rustls 0.24.1", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots", "winreg", ] @@ -2776,18 +2758,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "rustls" -version = "0.21.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" -dependencies = [ - "log", - "ring", - "rustls-webpki 0.101.7", - "sct", -] - [[package]] name = "rustls" version = "0.22.4" @@ -2855,16 +2825,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "rustls-webpki" -version = "0.101.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "rustls-webpki" version = "0.102.8" @@ -2921,16 +2881,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "sct" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "security-framework" version = "3.7.0" @@ -3648,16 +3598,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "tokio-rustls" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" -dependencies = [ - "rustls 0.21.12", - "tokio", -] - [[package]] name = "tokio-rustls" version = "0.25.0" @@ -3709,11 +3649,10 @@ checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ "futures-util", "log", - "rustls 0.21.12", + "native-tls", "tokio", - "tokio-rustls 0.24.1", + "tokio-native-tls", "tungstenite", - "webpki-roots", ] [[package]] @@ -4060,8 +3999,8 @@ dependencies = [ "http 0.2.12", "httparse", "log", + "native-tls", "rand 0.8.6", - "rustls 0.21.12", "sha1", "thiserror 1.0.69", "url", @@ -4346,12 +4285,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki-roots" -version = "0.25.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" - [[package]] name = "whoami" version = "1.6.1" diff --git a/sdk/rust/Cargo.toml b/sdk/rust/Cargo.toml index e2d64051..8ed615ca 100644 --- a/sdk/rust/Cargo.toml +++ b/sdk/rust/Cargo.toml @@ -10,8 +10,8 @@ keywords = ["stellar", "soroban", "blockchain", "indexer", "events"] categories = ["api-bindings", "web-programming::http-client"] [dependencies] -reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false } -tokio-tungstenite = { version = "0.20", features = ["rustls-tls-webpki-roots"] } +reqwest = { version = "0.11", features = ["json", "native-tls"], default-features = false } +tokio-tungstenite = { version = "0.20", features = ["native-tls"] } serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "1"