diff --git a/Cargo.lock b/Cargo.lock index 85be126b35..23d1674bb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2947,9 +2947,9 @@ dependencies = [ [[package]] name = "libtor" -version = "46.9.0+0.4.6.x" +version = "47.13.0+0.4.7.x" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18ca40c5090fd84877853f509dce8f906922e6c6fb0be12f4b61f6116710d457" +checksum = "1be588c6a2f02b860a1c0e3b2a59edcb171058f8da71b8ca0ddd7bb40f102c5c" dependencies = [ "libtor-derive", "libtor-sys", @@ -2969,15 +2969,24 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "libtor-src" +version = "47.13.0+0.4.7.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e73bef51ecfbe7e63ce5cb8757ebc59d09dca6985da7f7470931ac22eab00719" +dependencies = [ + "fs_extra", +] + [[package]] name = "libtor-sys" -version = "46.9.1+0.4.6.9" +version = "47.13.0+0.4.7.x" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52bf218e9764d77c16b77b9a26f219c5302bf7be010fd82aba63b019dea41fea" +checksum = "eb0bc2cfc5d03851617d33508acc511e46f0c2b3cbc3cda85defcb50efa628bb" dependencies = [ "autotools", "cc", - "fs_extra", + "libtor-src", "libz-sys", "openssl-sys", ] @@ -6359,7 +6368,6 @@ dependencies = [ "derivative", "libtor", "log", - "openssl", "rand", "tari_common", "tari_p2p", diff --git a/infrastructure/libtor/Cargo.toml b/infrastructure/libtor/Cargo.toml index 7b0ea7d881..23e57daf9d 100644 --- a/infrastructure/libtor/Cargo.toml +++ b/infrastructure/libtor/Cargo.toml @@ -15,8 +15,14 @@ tempfile = "3.1.0" tor-hash-passwd = "1.0.1" [target.'cfg(unix)'.dependencies] -libtor = { version = "46.9.0" } -openssl = { version = "0.10.61", features = ["vendored"] } +libtor = { version = "47.13.0", features = ["vendored-openssl"] } +#libtor = { version = "47.13.0" } +#openssl = { version = "0.10.61", features = ["vendored"] } +#libtor = { version = "47.13.0", features = ["vendored-openssl"] +#libtor = { version = "47.13.0", features = ["vendored-lzma","vendored-zstd"] } +#openssl = { version = "0.10.61", features = ["vendored"] } +#openssl-sys = "0.9" +#openssl = "0.10" [package.metadata.cargo-machete] ignored = ["openssl"] # this is so we can run cargo machete without getting false positive about macro dependancies \ No newline at end of file