cleanup trust-dns-util to not always enable openssl
This commit is contained in:
parent
49297381b6
commit
3eeee752fa
@ -38,17 +38,24 @@ maintenance = { status = "actively-developed" }
|
||||
[features]
|
||||
dns-over-rustls = ["trust-dns-resolver/dns-over-rustls"]
|
||||
|
||||
dnssec = []
|
||||
dnssec-openssl = ["dnssec", "openssl", "trust-dns-client/dnssec-openssl", "trust-dns-proto/dnssec-openssl", "trust-dns-resolver/dnssec-openssl"]
|
||||
dnssec-ring = ["dnssec", "trust-dns-client/dnssec-ring", "trust-dns-proto/dnssec-ring", "trust-dns-resolver/dnssec-ring"]
|
||||
|
||||
[[bin]]
|
||||
name = "dnskey-to-pem"
|
||||
path = "src/bind_dnskey_to_pem.rs"
|
||||
required-features = ["dnssec-openssl"]
|
||||
|
||||
[[bin]]
|
||||
name = "get-root-ksks"
|
||||
path = "src/get_root_ksks.rs"
|
||||
required-features = ["dnssec-openssl"]
|
||||
|
||||
[[bin]]
|
||||
name = "pem-to-public-dnskey"
|
||||
path = "src/pem_to_public_dnskey.rs"
|
||||
required-features = ["dnssec-openssl"]
|
||||
|
||||
[[bin]]
|
||||
name = "resolve"
|
||||
@ -59,9 +66,9 @@ clap = { version = "3.1", default-features = false, features = ["std", "cargo",
|
||||
console = "0.15.0"
|
||||
data-encoding = "2.2.0"
|
||||
env_logger = { version = "0.9.0", features = ["termcolor", "humantime", "atty"] }
|
||||
trust-dns-client= { version = "0.21.0-alpha.5", features = ["dnssec-openssl"], path = "../crates/client" }
|
||||
trust-dns-proto = { version = "0.21.0-alpha.5", features = ["dnssec-openssl"], path = "../crates/proto" }
|
||||
trust-dns-resolver = { version = "0.21.0-alpha.5", features = ["dnssec-openssl"], path = "../crates/resolver" }
|
||||
trust-dns-client = { version = "0.21.0-alpha.5", path = "../crates/client" }
|
||||
trust-dns-proto = { version = "0.21.0-alpha.5", path = "../crates/proto" }
|
||||
trust-dns-resolver = { version = "0.21.0-alpha.5", path = "../crates/resolver" }
|
||||
log = "0.4"
|
||||
openssl = { version = "0.10", features = ["v102", "v110"] }
|
||||
openssl = { version = "0.10", features = ["v102", "v110"], optional = true }
|
||||
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
|
||||
|
Loading…
Reference in New Issue
Block a user