compio_dns 0.1.4

Zero-overhead async DNS resolver for compio with smart caching. / 专为 compio 生态打造的零开销异步 DNS 解析器,内置智能缓存。
# 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"
name = "compio_dns"
version = "0.1.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-overhead async DNS resolver for compio with smart caching. / 专为 compio 生态打造的零开销异步 DNS 解析器,内置智能缓存。"
homepage = "https://github.com/js0/rust/tree/main/compio_dns"
readme = "README.md"
keywords = [
    "async",
    "dns",
    "resolver",
    "cache",
    "performance",
]
categories = [
    "network-programming",
    "asynchronous",
    "caching",
    "os",
    "web-programming",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0/rust.git"
resolver = "2"

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

[features]
default = []

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

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

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

[dependencies.compio-buf]
version = "0.8.0"

[dependencies.compio-io]
version = "0.9.1"

[dependencies.compio-net]
version = "0.11.0"

[dependencies.compio-runtime]
version = "0.11.0"
features = ["time"]

[dependencies.compio_net_extern_resolve]
version = "0.1.1"

[dependencies.fastrand]
version = "2.3.0"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.memchr]
version = "2.8.0"

[dependencies.rapidhash]
version = "4.3"

[dependencies.scc]
version = "3"

[dependencies.static_init]
version = "1.0.4"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.zerocopy]
version = "0.8.39"
features = ["derive"]

[dev-dependencies.aok]
version = "0.1.18"

[dev-dependencies.compio]
version = "0.18.0"
features = ["macros"]

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(compio_dns)"]