# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.88" name = "hickory-proto" version = "0.26.3" authors = ["The contributors to Hickory DNS"] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = """ hickory-proto is a safe and secure low-level DNS library. This is the foundational DNS protocol library used by the other higher-level Hickory DNS crates. """ homepage = "https://hickory-dns.org/" documentation = "https://docs.rs/hickory-proto" readme = "README.md" keywords = [ "dns", "dnssec", ] categories = ["network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/hickory-dns/hickory-dns" [package.metadata.docs.rs] all-features = true default-target = "x86_64-unknown-linux-gnu" targets = [ "x86_64-apple-darwin", "x86_64-pc-windows-msvc", ] rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.cargo-all-features] skip_optional_dependencies = true max_combination_size = 2 denylist = [ "__tls", "__https", "__quic", "__h3", "__dnssec", ] [features] __dnssec = [ "dep:bitflags", "dep:rustls-pki-types", "dep:time", "std", ] access-control = [ "std", "dep:prefix-trie", ] default = ["std"] dnssec-aws-lc-rs = [ "dep:aws-lc-rs", "aws-lc-rs/aws-lc-sys", "aws-lc-rs/ring-io", "__dnssec", ] dnssec-ring = [ "dep:ring", "__dnssec", ] mdns = [] no-std-rand = [ "once_cell/critical-section", "dep:critical-section", ] serde = [ "dep:serde", "std", "url/serde", ] std = [ "data-encoding/std", "ipnet/std", "rand/std", "rand/thread_rng", "ring?/std", "thiserror/std", "tracing/std", "url/std", ] testing = ["std"] wasm-bindgen = [ "dep:wasm-bindgen-crate", "dep:js-sys", ] [lib] name = "hickory_proto" path = "src/lib.rs" [[test]] name = "integration" path = "tests/integration/main.rs" [[bench]] name = "lib" path = "benches/lib.rs" [[bench]] name = "lower_name_benches" path = "benches/lower_name_benches.rs" [[bench]] name = "name_benches" path = "benches/name_benches.rs" [dependencies.aws-lc-rs] version = "1.12.3" features = ["prebuilt-nasm"] optional = true default-features = false [dependencies.bitflags] version = "2.4.1" optional = true [dependencies.critical-section] version = "1.1.1" optional = true [dependencies.data-encoding] version = "2.2.0" features = ["alloc"] default-features = false [dependencies.idna] version = "1.0.3" features = [ "alloc", "compiled_data", ] default-features = false [dependencies.ipnet] version = "2.11.0" default-features = false [dependencies.js-sys] version = "0.3.44" optional = true [dependencies.once_cell] version = "1.20.0" features = ["critical-section"] default-features = false [dependencies.prefix-trie] version = "0.10" optional = true [dependencies.rand] version = "0.10.0" features = [ "alloc", "std_rng", ] default-features = false [dependencies.ring] version = "0.17" features = ["std"] optional = true [dependencies.rustls-pki-types] version = "1.10" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "2" default-features = false [dependencies.time] version = "0.3" optional = true [dependencies.tinyvec] version = "1.1.1" features = ["alloc"] [dependencies.tracing] version = "0.1.30" default-features = false [dependencies.url] version = "2.5.4" default-features = false [dependencies.wasm-bindgen-crate] version = "0.2.107" optional = true package = "wasm-bindgen" [dev-dependencies] [target.'cfg(target_os = "android")'.dependencies.jni] version = "0.22.1" [lints.clippy] bool_to_int_with_if = "allow" default_trait_access = "warn" manual_let_else = "warn" or_fun_call = "warn" single_component_path_imports = "allow" unimplemented = "warn" upper_case_acronyms = "allow" use_self = "warn" [lints.rust] non_snake_case = "warn" non_upper_case_globals = "warn" rust_2018_idioms = "warn" unnameable_types = "warn" unreachable_pub = "warn" unused_extern_crates = "warn" unused_import_braces = "warn" unused_qualifications = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(nightly)"]