Work around alias lookups not working

Aliases advertised via i2p/tor would not resolve when the features
aren't compiled in. This is only a workaround, it would be better to fix
upstream.
This commit is contained in:
Rūdolfs Ošiņš
2026-05-20 11:01:28 +02:00
parent 3057fd7644
commit 071338d4d0
3 changed files with 30 additions and 3 deletions
Generated
+27
View File
@@ -383,6 +383,12 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
[[package]]
name = "base32"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23ce669cd6c8588f79e15cf450314f9638f967fc5770ff1c7c1deb0925ea7cfa"
[[package]]
name = "base64"
version = "0.21.7"
@@ -1121,7 +1127,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4204e8808fcdd40bed39e49371f13f56d6984c32bc03dcb577d2a40b989b9d68"
dependencies = [
"amplify",
"base32",
"cyphergraphy",
"sha3",
]
[[package]]
@@ -2868,6 +2876,15 @@ dependencies = [
"serde_json",
]
[[package]]
name = "keccak"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb26cec98cce3a3d96cbb7bced3c4b16e3d13f27ec56dbd62cbc8f39cfb9d653"
dependencies = [
"cpufeatures",
]
[[package]]
name = "keyboard-types"
version = "0.7.0"
@@ -5235,6 +5252,16 @@ dependencies = [
"digest",
]
[[package]]
name = "sha3"
version = "0.10.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77fd7028345d415a4034cf8777cd4f8ab1851274233b45f84e3d955502d93874"
dependencies = [
"digest",
"keccak",
]
[[package]]
name = "shared_child"
version = "1.0.2"
+1 -1
View File
@@ -20,7 +20,7 @@ either = { version = "1.15" }
git2 = { version = "0.20.4", default-features = false, features = ["vendored-libgit2"] }
infer = { version = "0.19.0" }
log = { version = "0.4.22" }
radicle = { version = "0.24" }
radicle = { version = "0.24", features = ["tor", "i2p"] }
radicle-types = { version = "0.1.0", path = "../radicle-types" }
radicle-surf = { version = "0.27.1", features = ["serde"] }
serde = { version = "1.0.0", features = ["derive"] }
+2 -2
View File
@@ -14,7 +14,7 @@ git2 = { version = "0.20.4", default-features = false, features = ["vendored-lib
log = { version = "0.4.22" }
infer = { version = "0.19.0" }
mime-infer = { version = "3.0.0" }
radicle = { version = "0.24" }
radicle = { version = "0.24", features = ["tor", "i2p"] }
radicle-job = { version = "0.6" }
radicle-localtime = { version = "0.1.0", features = ["serde"] }
radicle-surf = { version = "0.27.1", features = ["serde"] }
@@ -53,4 +53,4 @@ ts-rs = { version = "12.0.1", features = [
url = { version = "2.5.4", features = ["serde"] }
[dev-dependencies]
radicle = { version = "0.24", features = ["test"] }
radicle = { version = "0.24", features = ["test", "tor", "i2p"] }