[package]
name = "trust-dns-proto"
version = "0.20.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]
codecov = { repository = "bluejekyll/trust-dns", branch = "main", service = "github" }
maintenance = { status = "actively-developed" }
[features]
dnssec-openssl = ["dnssec", "openssl"]
dnssec-ring = ["dnssec", "ring"]
dnssec = []
testing = []
tokio-runtime = ["tokio/net", "tokio/rt", "tokio/time", "tokio/rt-multi-thread"]
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.36"
backtrace = { version = "0.3.50", optional = true }
cfg-if = "1"
data-encoding = "2.2.0"
enum-as-inner = "0.3"
futures-channel = { version = "0.3.5", default-features = false, features = ["std"] }
futures-io = { version = "0.3.5", default-features = false, features = ["std"] }
futures-util = { version = "0.3.5", default-features = false, features = ["std"] }
idna = "0.2.0"
ipnet = "2.3.0"
js-sys = { version = "0.3.44", optional = true }
lazy_static = "1.0"
log = "0.4"
openssl = { version = "0.10", features = ["v102", "v110"], optional = true }
rand = "0.8"
ring = { version = "0.16", optional = true, features = ["std"] }
serde = { version = "1.0", features = ["derive"], optional = true }
smallvec = "1.6"
socket2 = { version = "0.3.16", optional = true }
thiserror = "1.0.20"
tinyvec = { version = "1.1.1", features = ["alloc"] }
tokio = { version = "1.0", optional = true }
url = "2.1.0"
wasm-bindgen-crate = { version = "0.2.58", optional = true, package = "wasm-bindgen" }
[dev-dependencies]
env_logger = "0.8"
futures-executor = { version = "0.3.5", default-features = false, features = ["std"] }
tokio = { version = "1.0", features = ["rt", "time"] }