377 lines
6.4 KiB
TOML
377 lines
6.4 KiB
TOML
# 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-net"
|
|
version = "0.26.3"
|
|
authors = ["The contributors to Hickory DNS"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = """
|
|
hickory-net 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-net"
|
|
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",
|
|
"dep:lru-cache",
|
|
"dep:parking_lot",
|
|
]
|
|
__h3 = [
|
|
"dep:h3",
|
|
"dep:h3-quinn",
|
|
"dep:http",
|
|
]
|
|
__https = [
|
|
"dep:bytes",
|
|
"dep:h2",
|
|
"dep:http",
|
|
]
|
|
__quic = [
|
|
"dep:bytes",
|
|
"dep:pin-project-lite",
|
|
"dep:quinn",
|
|
]
|
|
__tls = [
|
|
"dep:bytes",
|
|
"dep:rustls",
|
|
"dep:tokio-rustls",
|
|
"tokio",
|
|
]
|
|
default = ["tokio"]
|
|
dnssec-aws-lc-rs = [
|
|
"dep:aws-lc-rs",
|
|
"aws-lc-rs/aws-lc-sys",
|
|
"aws-lc-rs/ring-io",
|
|
"hickory-proto/dnssec-aws-lc-rs",
|
|
"__dnssec",
|
|
]
|
|
dnssec-ring = [
|
|
"dep:ring",
|
|
"hickory-proto/dnssec-ring",
|
|
"__dnssec",
|
|
]
|
|
h3-aws-lc-rs = [
|
|
"quic-aws-lc-rs",
|
|
"__h3",
|
|
]
|
|
h3-ring = [
|
|
"quic-ring",
|
|
"__h3",
|
|
]
|
|
https-aws-lc-rs = [
|
|
"tls-aws-lc-rs",
|
|
"__https",
|
|
]
|
|
https-ring = [
|
|
"tls-ring",
|
|
"__https",
|
|
]
|
|
mdns = ["socket2/all"]
|
|
quic-aws-lc-rs = [
|
|
"quinn/rustls-aws-lc-rs",
|
|
"tls-aws-lc-rs",
|
|
"__quic",
|
|
]
|
|
quic-ring = [
|
|
"quinn/rustls-ring",
|
|
"tls-ring",
|
|
"__quic",
|
|
]
|
|
rustls-platform-verifier = ["dep:rustls-platform-verifier"]
|
|
serde = [
|
|
"dep:serde",
|
|
"url/serde",
|
|
]
|
|
tls-aws-lc-rs = [
|
|
"tokio-rustls/aws-lc-rs",
|
|
"__tls",
|
|
]
|
|
tls-ring = [
|
|
"tokio-rustls/ring",
|
|
"__tls",
|
|
]
|
|
tokio = [
|
|
"dep:tokio",
|
|
"tokio/net",
|
|
"tokio/rt",
|
|
"tokio/time",
|
|
"tokio/rt-multi-thread",
|
|
]
|
|
|
|
[lib]
|
|
name = "hickory_net"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.async-trait]
|
|
version = "0.1.43"
|
|
|
|
[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.bytes]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1"
|
|
|
|
[dependencies.data-encoding]
|
|
version = "2.2.0"
|
|
features = ["alloc"]
|
|
default-features = false
|
|
|
|
[dependencies.futures-channel]
|
|
version = "0.3.5"
|
|
features = [
|
|
"alloc",
|
|
"std",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.futures-io]
|
|
version = "0.3.5"
|
|
features = ["std"]
|
|
default-features = false
|
|
|
|
[dependencies.futures-util]
|
|
version = "0.3.5"
|
|
features = [
|
|
"alloc",
|
|
"async-await-macro",
|
|
"std",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.h2]
|
|
version = "0.4.0"
|
|
features = ["stream"]
|
|
optional = true
|
|
|
|
[dependencies.h3]
|
|
version = "0.0.8"
|
|
optional = true
|
|
|
|
[dependencies.h3-quinn]
|
|
version = "0.0.10"
|
|
optional = true
|
|
|
|
[dependencies.hickory-proto]
|
|
version = "0.26.3"
|
|
features = ["std"]
|
|
default-features = false
|
|
|
|
[dependencies.http]
|
|
version = "1.1"
|
|
optional = true
|
|
|
|
[dependencies.idna]
|
|
version = "1.0.3"
|
|
features = [
|
|
"alloc",
|
|
"compiled_data",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.ipnet]
|
|
version = "2.11.0"
|
|
default-features = false
|
|
|
|
[dependencies.lru-cache]
|
|
version = "0.1.2"
|
|
optional = true
|
|
|
|
[dependencies.parking_lot]
|
|
version = "0.12"
|
|
optional = true
|
|
|
|
[dependencies.pin-project-lite]
|
|
version = "0.2"
|
|
optional = true
|
|
|
|
[dependencies.quinn]
|
|
version = "0.11.2"
|
|
features = [
|
|
"log",
|
|
"runtime-tokio",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.rand]
|
|
version = "0.10.0"
|
|
features = [
|
|
"alloc",
|
|
"std_rng",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.ring]
|
|
version = "0.17"
|
|
features = ["std"]
|
|
optional = true
|
|
|
|
[dependencies.rustls]
|
|
version = "0.23.23"
|
|
features = [
|
|
"logging",
|
|
"std",
|
|
"tls12",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.rustls-pki-types]
|
|
version = "1.10"
|
|
optional = true
|
|
|
|
[dependencies.rustls-platform-verifier]
|
|
version = "0.7"
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.socket2]
|
|
version = "0.6"
|
|
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.tokio]
|
|
version = "1.36"
|
|
features = [
|
|
"io-util",
|
|
"macros",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.tokio-rustls]
|
|
version = "0.26"
|
|
features = ["early-data"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.30"
|
|
default-features = false
|
|
|
|
[dependencies.url]
|
|
version = "2.5.4"
|
|
default-features = false
|
|
|
|
[dependencies.webpki-roots]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[dev-dependencies.futures-executor]
|
|
version = "0.3.5"
|
|
features = ["std"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1.36"
|
|
features = [
|
|
"rt",
|
|
"time",
|
|
"macros",
|
|
"test-util",
|
|
]
|
|
|
|
[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)"]
|