Skip to content

Commit

Permalink
trust dns rebrand (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibigbug authored Oct 17, 2023
1 parent acefa04 commit 6d2d659
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 202 deletions.
272 changes: 106 additions & 166 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 4 additions & 9 deletions clash_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,10 @@ serde = { version = "1.0", features=["derive"] }
serde_yaml = "0.9"
erased-serde = "0.3.30"

trust-dns-client = { git = "https://github.com/Watfaq/trust-dns.git", rev = "a6a7b2c" }
trust-dns-resolver = { git = "https://github.com/Watfaq/trust-dns.git", rev = "a6a7b2c" }
trust-dns-server = { git = "https://github.com/Watfaq/trust-dns.git", rev = "a6a7b2c", features = ["dns-over-rustls", "dns-over-https-rustls"] }
trust-dns-proto = { git = "https://github.com/Watfaq/trust-dns.git", rev = "a6a7b2c", features = ["dns-over-rustls", "dns-over-https-rustls"] }

#trust-dns-client = "0.23"
#trust-dns-resolver = "0.23"
#trust-dns-server = { version = "0.23", features = ["dns-over-rustls", "dns-over-https-rustls"] }
#trust-dns-proto = { version = "0.23", features = ["dns-over-rustls", "dns-over-https-rustls"]}
hickory-client = "0.24"
hickory-resolver = "0.24"
hickory-server = { version = "0.24", features = ["dns-over-rustls", "dns-over-https-rustls"] }
hickory-proto = { version = "0.24", features = ["dns-over-rustls", "dns-over-https-rustls"]}

# DoH
rustls = { version = "0.21", features=["dangerous_configuration"] }
Expand Down
2 changes: 1 addition & 1 deletion clash_lib/src/app/dns/dhcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ use tokio::net::UdpSocket;
use tokio::sync::Mutex;
use tokio::task::yield_now;

use hickory_proto::op::Message;
use tracing::{debug, warn};
use trust_dns_proto::op::Message;

use super::config::NameServer;

Expand Down
Loading

0 comments on commit 6d2d659

Please sign in to comment.