diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index a2381212..b8a57fd9 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -180,7 +180,7 @@ http-body-util = { version = "0.1", optional = true } http = { version = "1.1", optional = true } httparse = { version = "1.9", optional = true } -hickory-resolver = { version = "0.25.0-alpha", optional = true, features = [ +hickory-resolver = { version = "=0.25.0-alpha.4", optional = true, features = [ "serde", ] } diff --git a/crates/shadowsocks/Cargo.toml b/crates/shadowsocks/Cargo.toml index 7c8ea543..efbf9c82 100644 --- a/crates/shadowsocks/Cargo.toml +++ b/crates/shadowsocks/Cargo.toml @@ -86,7 +86,7 @@ tokio = { version = "1.9.0", features = [ "time", ] } -hickory-resolver = { version = "0.25.0-alpha", optional = true } +hickory-resolver = { version = "=0.25.0-alpha.4", optional = true } arc-swap = { version = "1.7", optional = true } notify = { version = "7.0", optional = true }