diff --git a/demo/test-resolver/Cargo.toml b/demo/test-resolver/Cargo.toml index e6fbb5d4c..9f3272dcc 100644 --- a/demo/test-resolver/Cargo.toml +++ b/demo/test-resolver/Cargo.toml @@ -13,5 +13,13 @@ slog = { workspace = true, features = ["max_level_trace", "release_max_level_inf slog-scope = "4" slog-stdlog = "4" g3-types = { workspace = true, features = ["async-log"] } -g3-resolver = { workspace = true, features = ["hickory"] } +g3-resolver.workspace = true g3-stdlog.workspace = true + +[features] +default = [] +hickory = [ "g3-resolver/hickory" ] + +[[bin]] +name = "test-resolver" +required-features = ["g3-resolver/hickory"] diff --git a/g3bench/Cargo.toml b/g3bench/Cargo.toml index 8c519e25a..7e496a26e 100644 --- a/g3bench/Cargo.toml +++ b/g3bench/Cargo.toml @@ -57,7 +57,7 @@ g3-hickory-client.workspace = true rustc_version.workspace = true [features] -default = ["quic"] +default = [] quic = ["g3-types/quic", "g3-socks/quic", "g3-io-ext/quic", "g3-hickory-client/quic", "dep:quinn", "dep:h3", "dep:h3-quinn"] vendored-openssl = ["openssl/vendored", "openssl-probe"] vendored-tongsuo = ["openssl/tongsuo", "openssl-probe", "g3-types/tongsuo"] diff --git a/g3proxy/Cargo.toml b/g3proxy/Cargo.toml index bfd517a42..61fa2ed3e 100644 --- a/g3proxy/Cargo.toml +++ b/g3proxy/Cargo.toml @@ -95,7 +95,7 @@ tokio-util = { workspace = true, features = ["io"] } rustc_version.workspace = true [features] -default = ["lua54", "python", "c-ares", "hickory", "geoip", "quic"] +default = ["lua54", "python", "c-ares", "geoip"] lua = ["mlua"] luajit = ["lua", "mlua/luajit"] lua51 = ["lua", "mlua/lua51"] diff --git a/g3tiles/Cargo.toml b/g3tiles/Cargo.toml index 7d1b3ce30..4a54689b0 100644 --- a/g3tiles/Cargo.toml +++ b/g3tiles/Cargo.toml @@ -55,7 +55,7 @@ g3tiles-proto = { path = "proto" } rustc_version.workspace = true [features] -default = ["quic"] +default = [] quic = ["g3-daemon/quic", "dep:quinn"] vendored-openssl = ["openssl/vendored", "openssl-probe"] vendored-tongsuo = ["openssl/tongsuo", "openssl-probe", "g3-yaml/tongsuo", "g3-types/tongsuo"]