Skip to content

Commit 878fd52

Browse files
committed
feat: add iroh-dns crate
1 parent 6f1e13f commit 878fd52

File tree

13 files changed

+1223
-0
lines changed

13 files changed

+1223
-0
lines changed

Cargo.lock

Lines changed: 177 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ members = [
33
"iroh",
44
"iroh-bytes",
55
"iroh-base",
6+
"iroh-dns",
67
"iroh-gossip",
78
"iroh-metrics",
89
"iroh-net",

iroh-dns/Cargo.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[package]
2+
name = "iroh-dns"
3+
version = "0.12.0"
4+
edition = "2021"
5+
readme = "README.md"
6+
description = "DNS resolver and pkarr publisher for iroh"
7+
license = "MIT OR Apache-2.0"
8+
authors = ["n0 team"]
9+
repository = "https://github.com/n0-computer/iroh"
10+
keywords = ["networking", "p2p", "holepunching", "ipfs"]
11+
12+
# Sadly this also needs to be updated in .github/workflows/ci.yml
13+
rust-version = "1.75"
14+
15+
[dependencies]
16+
anyhow = "1.0.80"
17+
derive_more = { version = "1.0.0-beta.1", features = ["debug", "display"] }
18+
ed25519-dalek = { version = "2.1.1", features = ["pkcs8"] }
19+
futures = "0.3.30"
20+
hex = "0.4.3"
21+
hickory-proto = { version = "0.24.0", features = ["dnssec", "ring"] }
22+
hickory-resolver = { version = "0.24.0", features = ["dns-over-https", "dns-over-tls", "tokio-rustls", "webpki-roots", "dns-over-rustls", "dns-over-https-rustls"] }
23+
iroh-base = { version = "0.12.0", path = "../iroh-base", default_features = false, features = ["base32"] }
24+
iroh-net = { version = "0.12.0", path = "../iroh-net", default_features = false }
25+
pkarr = { version = "1.1.1", features = ["async", "relay"], default_features = false }
26+
reqwest = { version = "0.11.24", features = ["rustls"] }
27+
ring = "0.16"
28+
rustls = "0.21"
29+
tokio = { version = "1", features = ["rt", "sync"] }
30+
tracing = "0.1"
31+
url = { version = "2", features = ["serde"] }
32+
33+
[dev-dependencies]
34+
clap = { version = "4.5.1", features = ["derive"] }
35+
tokio = { version = "1", features = ["full"] }
36+
tracing-subscriber = "0.3"

0 commit comments

Comments
 (0)