[dependencies.bytemuck]
features = ["derive"]
version = "1.0.0"
[dependencies.displaydoc]
version = "0.2.0"
[dependencies.ouroboros]
optional = true
version = "0.18.0"
[dependencies.reqwest]
default-features = false
optional = true
version = "0.12.0"
[dependencies.rustix]
features = ["event", "net"]
version = "1.0.0"
[dependencies.thiserror]
version = "2.0.0"
[dependencies.tokio]
default-features = false
features = ["net", "time"]
optional = true
version = "1.0.0"
[features]
default = []
reqwest = ["tokio", "dep:ouroboros", "dep:reqwest"]
tokio = ["dep:tokio"]
[lib]
name = "nscd_lookup"
path = "src/lib.rs"
[lints.clippy]
collapsible_match = "warn"
expect_used = "warn"
match_bool = "warn"
match_ref_pats = "warn"
match_same_arms = "warn"
match_single_binding = "warn"
needless_bool = "deny"
needless_late_init = "warn"
needless_match = "warn"
redundant_guards = "warn"
redundant_pattern = "warn"
redundant_pattern_matching = "warn"
single_match = "warn"
single_match_else = "warn"
[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
meta_variable_misuse = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
noop_method_call = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
unreachable_pub = "warn"
unused_crate_dependencies = "warn"
warnings = "warn"
[lints.rust.unknown_lints]
level = "allow"
priority = -1
[lints.rust.unsafe_code]
level = "forbid"
priority = -1
[package]
authors = ["René Kijewski <crates.io@k6i.de>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "os::unix-apis"]
description = "Look up IP addresses using nscd"
edition = "2021"
keywords = ["nscd", "dns", "lookup", "synchronous", "tokio"]
license = "MIT OR Apache-2.0"
name = "nscd-lookup"
readme = "README.md"
repository = "https://github.com/Kijewski/nscd-lookup"
rust-version = "1.81"
version = "0.1.5"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition", "--cfg=docsrs"]