diff --git a/Cargo.lock b/Cargo.lock index 71a13521a03..e1a0a6057fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -566,6 +566,33 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +[[package]] +name = "aws-lc-rs" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdd82dba44d209fddb11c190e0a94b78651f95299598e472215667417a03ff1d" +dependencies = [ + "aws-lc-sys", + "mirai-annotations", + "paste", + "zeroize", +] + +[[package]] +name = "aws-lc-sys" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df7a4168111d7eb622a31b214057b8509c0a7e1794f44c546d742330dc793972" +dependencies = [ + "bindgen", + "cc", + "cmake", + "dunce", + "fs_extra", + "libc", + "paste", +] + [[package]] name = "axum" version = "0.6.20" @@ -857,12 +884,15 @@ dependencies = [ "itertools 0.12.1", "lazy_static", "lazycell", + "log", + "prettyplease 0.2.16", "proc-macro2", "quote", "regex", "rustc-hash 1.1.0", "shlex", "syn 2.0.96", + "which", ] [[package]] @@ -1175,13 +1205,13 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.98" +version = "1.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +checksum = "e4730490333d58093109dc02c23174c3f4d490998c3fed3cc8e82d57afedb9cf" dependencies = [ "jobserver", "libc", - "once_cell", + "shlex", ] [[package]] @@ -1339,6 +1369,15 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +[[package]] +name = "cmake" +version = "0.1.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e24a03c8b52922d68a1589ad61032f2c1aa5a8158d2aa0d93c6e9534944bbad6" +dependencies = [ + "cc", +] + [[package]] name = "coarsetime" version = "0.1.34" @@ -2107,6 +2146,12 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + [[package]] name = "dyn-clone" version = "1.0.17" @@ -2701,7 +2746,7 @@ dependencies = [ "test-log", "thiserror 2.0.11", "tokio", - "tokio-rustls 0.24.1", + "tokio-rustls 0.26.0", "tokio-test", "tracing", "url", @@ -3548,7 +3593,7 @@ dependencies = [ "tar", "test-log", "tokio", - "tokio-rustls 0.24.1", + "tokio-rustls 0.26.0", "tokio-stream", "tokio-util", "tower 0.4.13", @@ -3628,7 +3673,7 @@ dependencies = [ "rand", "tempfile", "tokio", - "tokio-rustls 0.24.1", + "tokio-rustls 0.26.0", "tracing", ] @@ -4086,6 +4131,12 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + [[package]] name = "fslock" version = "0.2.1" @@ -6339,6 +6390,12 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "mirai-annotations" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9be0862c1b3f26a88803c4a49de6889c10e608b3ee9344e6ef5b45fb37ad3d1" + [[package]] name = "moka" version = "0.12.10" @@ -8257,6 +8314,7 @@ version = "0.23.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebbbdb961df0ad3f2652da8f3fdc4b36122f568f968f45ad3316f26c025c677b" dependencies = [ + "aws-lc-rs", "log", "once_cell", "ring 0.17.8", @@ -8347,6 +8405,7 @@ version = "0.102.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610" dependencies = [ + "aws-lc-rs", "ring 0.17.8", "rustls-pki-types", "untrusted 0.9.0", diff --git a/Cargo.toml b/Cargo.toml index 02c55045428..3f30f8bc24f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -205,7 +205,7 @@ thiserror = "2.0.11" threshold_crypto = { version = "0.2.1", package = "fedimint-threshold-crypto" } tokio = "1.43.0" tikv-jemallocator = "0.5" -tokio-rustls = "0.24.1" +tokio-rustls = "0.26.0" tokio-stream = "0.1.17" tonic_lnd = { version = "0.2.0", package = "fedimint-tonic-lnd", features = [ "lightningrpc",