diff --git a/native/siwe_native/Cargo.lock b/native/siwe_native/Cargo.lock index f38d3d1..5d05315 100644 --- a/native/siwe_native/Cargo.lock +++ b/native/siwe_native/Cargo.lock @@ -1450,8 +1450,7 @@ dependencies = [ [[package]] name = "eth-signature-verifier" version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5605a72885aa5271b133289a9470823a29678fe395b9591b80da609393b85e81" +source = "git+https://github.com/royal-markets/eth-signature-verifier?branch=remove-openssl#6ef3d745575acac1485415934894cf806efe8fa7" dependencies = [ "alloy", "log", @@ -1938,6 +1937,24 @@ dependencies = [ "tokio-rustls 0.24.1", ] +[[package]] +name = "hyper-rustls" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" +dependencies = [ + "futures-util", + "http 1.1.0", + "hyper 1.4.1", + "hyper-util", + "rustls 0.23.12", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.26.0", + "tower-service", + "webpki-roots", +] + [[package]] name = "hyper-timeout" version = "0.4.1" @@ -2763,6 +2780,54 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" +[[package]] +name = "quinn" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b22d8e7369034b9a7132bc2008cac12f2013c8132b45e0554e6e20e2617f2156" +dependencies = [ + "bytes", + "pin-project-lite", + "quinn-proto", + "quinn-udp", + "rustc-hash", + "rustls 0.23.12", + "socket2", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "quinn-proto" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba92fb39ec7ad06ca2582c0ca834dfeadcaf06ddfc8e635c80aa7e1c05315fdd" +dependencies = [ + "bytes", + "rand", + "ring", + "rustc-hash", + "rustls 0.23.12", + "slab", + "thiserror", + "tinyvec", + "tracing", +] + +[[package]] +name = "quinn-udp" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bffec3605b73c6f1754535084a85229fa8a30f86014e6c81aeec4abb68b0285" +dependencies = [ + "libc", + "once_cell", + "socket2", + "tracing", + "windows-sys 0.52.0", +] + [[package]] name = "quote" version = "1.0.36" @@ -2877,7 +2942,7 @@ dependencies = [ "http 0.2.12", "http-body 0.4.6", "hyper 0.14.30", - "hyper-rustls", + "hyper-rustls 0.24.2", "ipnet", "js-sys", "log", @@ -2920,6 +2985,7 @@ dependencies = [ "http-body 1.0.1", "http-body-util", "hyper 1.4.1", + "hyper-rustls 0.27.2", "hyper-tls", "hyper-util", "ipnet", @@ -2930,18 +2996,23 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", + "quinn", + "rustls 0.23.12", "rustls-pemfile 2.1.2", + "rustls-pki-types", "serde", "serde_json", "serde_urlencoded", "sync_wrapper 1.0.1", "tokio", "tokio-native-tls", + "tokio-rustls 0.26.0", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", + "webpki-roots", "winreg 0.52.0", ] @@ -3026,6 +3097,12 @@ version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +[[package]] +name = "rustc-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" + [[package]] name = "rustc-hex" version = "2.1.0" @@ -3123,6 +3200,20 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls" +version = "0.23.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044" +dependencies = [ + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki 0.102.6", + "subtle", + "zeroize", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -3416,7 +3507,7 @@ dependencies = [ [[package]] name = "siwe" version = "0.6.1" -source = "git+https://github.com/royal-markets/siwe-rs#a082d32f5b87f198b9a0af155e429d61370d2eb9" +source = "git+https://github.com/royal-markets/siwe-rs?branch=remove-openssl#01b1c7fda2c5cd566f7411a59baa73ba32672e33" dependencies = [ "alloy", "eth-signature-verifier", @@ -3757,6 +3848,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" +dependencies = [ + "rustls 0.23.12", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.15" @@ -4147,6 +4249,15 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "webpki-roots" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "windows-core" version = "0.52.0" diff --git a/native/siwe_native/Cargo.toml b/native/siwe_native/Cargo.toml index 1408a74..53c6211 100644 --- a/native/siwe_native/Cargo.toml +++ b/native/siwe_native/Cargo.toml @@ -10,11 +10,11 @@ path = "src/lib.rs" crate-type = ["cdylib"] [dependencies] -alloy = { version = "0.2", features = ["providers"] } +alloy = { version = "0.2", features = ["providers", "reqwest-rustls-tls"] } http = "1.0.0" iri-string = { version = "0.7", features = ["serde"] } once_cell = "1.19.0" rustler = "0.34" -siwe = { git = "https://github.com/royal-markets/siwe-rs", features = ["alloy"], ref = "a082d32" } +siwe = { git = "https://github.com/royal-markets/siwe-rs", features = ["alloy"], branch = "remove-openssl" } time = { version = "0.3", features = ["parsing", "formatting"] } tokio = { version = "1.39.1", features = ["rt-multi-thread"] }