# 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 = "dhttp"
version = "0.5.0-beta.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The True Internet"
readme = "README.md"
keywords = [
    "dhttp",
    "http3",
    "quic",
    "identity",
    "network",
]
categories = ["network-programming"]
license = "Apache-2.0"
repository = "https://github.com/genmeta/dhttp"

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

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

[dependencies.bon]
version = "3"

[dependencies.bytes]
version = "1"

[dependencies.ddns]
version = "0.6.0-beta.1"
features = [
    "resolvers",
    "publishers",
    "h3",
    "http",
    "mdns",
    "dquic-network",
]
package = "dyns"

[dependencies.dhttp-access]
version = "0.3.0"

[dependencies.dhttp-home]
version = "0.3.0"

[dependencies.dhttp-identity]
version = "0.2.0"

[dependencies.futures]
version = "0.3"

[dependencies.h3x]
version = "0.6.0-beta.1"
features = ["dquic"]

[dependencies.http]
version = "1"

[dependencies.matchit]
version = "0.9"

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

[dependencies.snafu]
version = "0.9"

[dependencies.tokio]
version = "1"
features = ["sync"]

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.dhttp-access]
version = "0.3.0"
features = [
    "http",
    "orm",
]

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