[package]
name = "trust-dns-proto"
version = "0.19.4"
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]
codecov = { repository = "bluejekyll/trust-dns", branch = "master", service = "github" }
maintenance = { status = "actively-developed" }
[features]
dnssec-openssl = ["dnssec", "openssl"]
dnssec-ring = ["dnssec", "ring"]
dnssec = ["data-encoding"]
testing = []
tokio-runtime = ["tokio/rt-core", "tokio/udp", "tokio/tcp", "tokio/time"]
default = ["tokio-runtime"]
serde-config = ["serde"]
mdns = ["socket2/reuseport"]
wasm-bindgen = ["wasm-bindgen-crate", "js-sys"]
[lib]
name = "trust_dns_proto"
path = "src/lib.rs"
[dependencies]
async-trait = "0.1.30"
backtrace = "0.3.44"
data-encoding = { version = "2.2.0", optional = true }
enum-as-inner = "0.3"
futures = { version = "0.3.4", default-features = false, features = ["std"] }
idna = "0.2.0"
js-sys = { version = "0.3.35", optional = true }
lazy_static = "1.0"
log = "0.4"
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.2"
socket2 = { version = "0.3.12", optional = true }
thiserror = "1.0.14"
tokio = { version = "0.2.16", optional = true }
url = "2.1.0"
wasm-bindgen-crate = { version = "0.2.58", optional = true, package = "wasm-bindgen" }
[dev-dependencies]
env_logger = "0.7"
futures = { version = "0.3.4", default-features = false, features = ["std", "executor"] }
tokio = { version = "0.2.1", features = ["rt-core", "time"] }