Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: patch dependencies fixing tor/socks5 support
Dr Maxim Orlovsky committed 2 years ago
commit 620c655b03a7572c7ff891e2454338d1021d4959
parent 6dd52c94fb1472e251110e439fe656aaed74019f
5 files changed +29 -27
modified Cargo.lock
@@ -629,8 +629,7 @@ dependencies = [
[[package]]
name = "cypheraddr"
version = "0.3.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e64c60d980ec55006d2a1229923a5fa73046de824455569cccb6cb2e4a64ae31"
+
source = "git+https://github.com/cyphernet-dao/rust-cyphernet?branch=v0.5#f49d780424b9dc73d96cb4a74655cb4584827c54"
dependencies = [
 "amplify",
 "base32",
@@ -640,9 +639,8 @@ dependencies = [

[[package]]
name = "cyphergraphy"
-
version = "0.2.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3c8e45921460ef188da680742fd641f9b2a85d0de6bce12ce26e64c0f4913b41"
+
version = "0.3.0"
+
source = "git+https://github.com/cyphernet-dao/rust-cyphernet?branch=v0.5#f49d780424b9dc73d96cb4a74655cb4584827c54"
dependencies = [
 "amplify",
 "ec25519",
@@ -652,9 +650,8 @@ dependencies = [

[[package]]
name = "cyphernet"
-
version = "0.4.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "2f8be7cc6e24cfea2c126bddaaddfd3c3054865b4cd52882eae9dfea6ee8aac1"
+
version = "0.5.0"
+
source = "git+https://github.com/cyphernet-dao/rust-cyphernet?branch=v0.5#f49d780424b9dc73d96cb4a74655cb4584827c54"
dependencies = [
 "cypheraddr",
 "cyphergraphy",
@@ -1623,9 +1620,9 @@ dependencies = [

[[package]]
name = "io-reactor"
-
version = "0.5.0"
+
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "bd2eb3f6ef3b908c8144cd1d1a3069ecfdb60cbc795a303fd2d17b96c1c67c77"
+
checksum = "c71ec6bafb8035aa398cb4fe00d881f646938ec87a8ed879a6f283b720cfe76c"
dependencies = [
 "amplify",
 "crossbeam-channel",
@@ -1683,9 +1680,9 @@ checksum = "baff4b617f7df3d896f97fe922b64817f6cd9a756bb81d40f8883f2f66dcb401"

[[package]]
name = "libc"
-
version = "0.2.153"
+
version = "0.2.154"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
+
checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346"

[[package]]
name = "libgit2-sys"
@@ -1857,9 +1854,8 @@ dependencies = [

[[package]]
name = "netservices"
-
version = "0.8.0-beta.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "56bee0bcdc62d83ff53321dde78c51a1ec2d727da9342ffafa8ae5df892e5a7d"
+
version = "0.8.0"
+
source = "git+https://github.com/cyphernet-dao/rust-netservices?branch=v0.8#34b239dc52f70f34673d140cc799f94624be237e"
dependencies = [
 "amplify",
 "cyphernet",
@@ -1881,8 +1877,7 @@ dependencies = [
[[package]]
name = "noise-framework"
version = "0.3.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "a1bff54756fd54be6b45e160390d5ec3462331c2bf2aae26df78b4833e1206bb"
+
source = "git+https://github.com/cyphernet-dao/rust-cyphernet?branch=v0.5#f49d780424b9dc73d96cb4a74655cb4584827c54"
dependencies = [
 "amplify",
 "chacha20poly1305",
@@ -3019,9 +3014,9 @@ dependencies = [

[[package]]
name = "socket2"
-
version = "0.5.6"
+
version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871"
+
checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c"
dependencies = [
 "libc",
 "windows-sys 0.52.0",
@@ -3029,9 +3024,8 @@ dependencies = [

[[package]]
name = "socks5-client"
-
version = "0.3.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c0c27f4545b26cb6e14990e7477c38a8b493b2e8738166fa2a1f5f174ef3fa5f"
+
version = "0.4.0"
+
source = "git+https://github.com/cyphernet-dao/rust-cyphernet?branch=v0.5#f49d780424b9dc73d96cb4a74655cb4584827c54"
dependencies = [
 "amplify",
 "cypheraddr",
modified Cargo.toml
@@ -34,3 +34,11 @@ resolver = "2"
inherits = "release"
debug = true
incremental = false
+

+
[patch.crates-io]
+
cypheraddr = { git = "https://github.com/cyphernet-dao/rust-cyphernet", branch = "v0.5" }
+
cyphergraphy = { git = "https://github.com/cyphernet-dao/rust-cyphernet", branch = "v0.5" }
+
socks5-client = { git = "https://github.com/cyphernet-dao/rust-cyphernet", branch = "v0.5" }
+
noise-framework = { git = "https://github.com/cyphernet-dao/rust-cyphernet", branch = "v0.5" }
+
cyphernet = { git = "https://github.com/cyphernet-dao/rust-cyphernet", branch = "v0.5" }
+
netservices = { git = "https://github.com/cyphernet-dao/rust-netservices", branch = "v0.8" }
modified radicle-crypto/Cargo.toml
@@ -17,7 +17,7 @@ ssh = ["radicle-ssh", "ssh-key"]

[dependencies]
amplify = { version = "4.0.0" }
-
cyphernet = { version = "0.4.1", optional = true, features = ["ed25519"] }
+
cyphernet = { version = "0.5.0", optional = true, features = ["ed25519"] }
fastrand = { version = "2.0.0", default-features = false, optional = true }
multibase = { version = "0.9.1" }
ec25519 = { version = "0.1.0", features = [] }
modified radicle-node/Cargo.toml
@@ -19,14 +19,14 @@ byteorder = { version = "1" }
chrono = { version = "0.4.0", default-features = false, features = ["clock"] }
colored = { version = "2.1.0" }
crossbeam-channel = { version = "0.5.6" }
-
cyphernet = { version = "0.4.1", features = ["tor", "dns", "ed25519", "p2p-ed25519"] }
+
cyphernet = { version = "0.5.0", features = ["tor", "dns", "ed25519", "p2p-ed25519"] }
fastrand = { version = "2.0.0" }
-
io-reactor = { version = "0.5.0", features = ["popol"] }
+
io-reactor = { version = "0.5.1", features = ["popol"] }
lexopt = { version = "0.3.0" }
libc = { version = "0.2.137" }
log = { version = "0.4.17", features = ["std"] }
localtime = { version = "1.2.0" }
-
netservices = { version = "0.8.0-beta.1", features = ["io-reactor", "socket2"] }
+
netservices = { version = "0.8.0", features = ["io-reactor", "socket2"] }
nonempty = { version = "0.9.0", features = ["serialize"] }
once_cell = { version = "1.13" }
qcheck = { version = "1", default-features = false, optional = true }
modified radicle/Cargo.toml
@@ -17,7 +17,7 @@ logger = ["colored", "chrono"]
amplify = { version = "4.0.0", default-features = false, features = ["std"] }
base64 = { version = "0.21.3" }
crossbeam-channel = { version = "0.5.6" }
-
cyphernet = { version = "0.4.1", features = ["tor", "dns", "p2p-ed25519"] }
+
cyphernet = { version = "0.5.0", features = ["tor", "dns", "p2p-ed25519"] }
fastrand = { version = "2.0.0" }
multibase = { version = "0.9.1" }
localtime = { version = "1.2.0", features = ["serde"] }