# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "domain"
version = "0.6.0"
authors = ["Martin Hoffmann <martin@nlnetlabs.nl>"]
description = "A DNS library for Rust."
homepage = "https://github.com/nlnetlabs/domain/"
documentation = "https://docs.rs/domain"
readme = "README.md"
keywords = ["DNS", "domain"]
license = "BSD-3-Clause"
repository = "https://github.com/nlnetlabs/domain/"

[lib]
name = "domain"
path = "src/lib.rs"

[[example]]
name = "readzone"
required-features = ["master"]

[[example]]
name = "download-rust-lang"
required-features = ["resolv"]

[[example]]
name = "lookup"
required-features = ["resolv"]

[[example]]
name = "resolv-sync"
required-features = ["resolv-sync"]
[dependencies.bytes]
version = "1.0"
optional = true

[dependencies.chrono]
version = "0.4.6"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.ring]
version = "0.16.14"
optional = true

[dependencies.smallvec]
version = "1.0"
optional = true

[dependencies.tokio]
version = "1.0"
features = ["io-util", "macros", "net", "time"]
optional = true
[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread", "io-util", "net"]

[dev-dependencies.tokio-native-tls]
version = "0.3"

[features]
default = ["std"]
interop = ["bytes", "ring"]
master = ["std", "bytes", "chrono"]
resolv = ["bytes", "futures", "smallvec", "std", "tokio", "libc"]
resolv-sync = ["resolv", "tokio/rt"]
sign = ["std"]
std = []
tsig = ["bytes", "ring", "smallvec"]
validate = ["std", "ring"]
[target."cfg(macos)".dependencies.libc]
version = "0.2.71"
optional = true
default-features = false
