rsdns 0.23.0

DNS Client Library
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "rsdns"
version = "0.23.0"
authors = ["Rafael Buchbinder <rafi@rbk.io>"]
build = "build.rs"
exclude = [
    ".git*",
    "Makefile.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DNS Client Library"
readme = "README.md"
keywords = [
    "dns",
    "dig",
    "async",
    "resolver",
]
categories = [
    "asynchronous",
    "network-programming",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/r-bk/rsdns"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
net-async-std = ["dep:async-std"]
net-smol = [
    "dep:smol",
    "dep:smol-timeout",
]
net-std = []
net-tokio = ["dep:tokio"]
socket2 = ["dep:socket2"]

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

[[test]]
name = "test_partial_eq"
path = "tests/test_partial_eq.rs"

[[test]]
name = "test_query_rrset"
path = "tests/test_query_rrset.rs"

[dependencies.arrayvec]
version = "0.7.1"

[dependencies.async-std]
version = "1"
optional = true

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.rand]
version = "0.10.1"

[dependencies.smol]
version = "2"
optional = true

[dependencies.smol-timeout]
version = "0.6.0"
optional = true

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
    "time",
    "io-util",
]
optional = true
default-features = false

[dev-dependencies.async-std]
version = "1"
features = ["attributes"]

[dev-dependencies.smol-potat]
version = "1.1.2"

[dev-dependencies.tokio]
version = "1"
features = ["macros"]

[build-dependencies.prettyplease]
version = "0.2"

[build-dependencies.zyn]
version = "0.5.4"

[target.'cfg(target_os = "linux")'.dependencies.socket2]
version = "0.6.0"
features = ["all"]
optional = true