[package]
name = "trust-dns-proto"
version = "0.18.0-alpha.2"
edition = "2018"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
description = """
Trust-DNS is a safe and secure DNS library. This is the foundational DNS protocol library for all Trust-DNS projects.
"""
documentation = "https://docs.rs/trust-dns-proto"
homepage = "http://www.trust-dns.org/index.html"
repository = "https://github.com/bluejekyll/trust-dns"
readme = "README.md"
keywords = ["DNS", "BIND", "dig", "named", "dnssec"]
categories = ["network-programming"]
license = "MIT/Apache-2.0"
[badges]
travis-ci = { repository = "bluejekyll/trust-dns" }
appveyor = { repository = "bluejekyll/trust-dns", branch = "master", service = "github" }
codecov = { repository = "bluejekyll/trust-dns", branch = "master", service = "github" }
[features]
dnssec-openssl = ["dnssec", "openssl"]
dnssec-ring = ["dnssec", "ring"]
dnssec = ["data-encoding"]
tokio-compat = ["tokio"]
default = ["tokio-compat"]
serde-config = ["serde"]
mdns = ["socket2/reuseport"]
[lib]
name = "trust_dns_proto"
path = "src/lib.rs"
[dependencies]
async-trait = "0.1.21"
data-encoding = { version = "2.1.0", optional = true }
enum-as-inner = "0.3"
failure = "0.1"
futures = "0.3.0"
idna = "0.2.0"
lazy_static = "1.0"
log = "0.4.8"
openssl = { version = "0.10", features = ["v102", "v110"], optional = true }
rand = "0.7"
ring = { version = "0.16", optional = true, features = ["std"] }
serde = { version = "1.0", optional = true }
smallvec = "1.0"
socket2 = { version = "0.3.10" }
tokio = { version = "0.2.1", features = ["time", "udp", "tcp"], optional = true }
url = "2.1.0"
[dev-dependencies]
env_logger = "0.7"