dnscrypt 0.2.0

A DNSCrypt v2 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 = "dnscrypt"
version = "0.2.0"
authors = ["Hacer-Bark <hacer.bark@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A DNSCrypt v2 client library"
documentation = "https://docs.rs/dnscrypt"
readme = "README.md"
keywords = [
    "dns",
    "dnscrypt",
    "privacy",
    "resolver",
    "security",
]
categories = [
    "network-programming",
    "cryptography",
]
license = "0BSD"
repository = "https://github.com/hacer-bark/dnscrypt"

[features]
default = ["reqwest"]
reqwest = ["dep:reqwest"]

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

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

[dependencies.aws-lc-rs]
version = "1"

[dependencies.chacha20]
version = "0.10"
features = ["xchacha"]

[dependencies.poly1305]
version = "0.9"

[dependencies.reqwest]
version = "0.13"
optional = true
default-features = false

[dependencies.salsa20]
version = "0.11"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "time",
    "io-util",
    "rt",
    "macros",
]

[lints.clippy]
all = "deny"
arithmetic_side_effects = "deny"
as_conversions = "deny"
cargo = "deny"
dbg_macro = "deny"
exit = "deny"
expect_used = "deny"
indexing_slicing = "deny"
nursery = "deny"
panic = "deny"
pedantic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
future_incompatible = "deny"
missing_debug_implementations = "deny"
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"
unused = "deny"
warnings = "deny"

[lints.rustdoc]
all = "deny"
broken_intra_doc_links = "deny"