# 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 = "2021"
rust-version = "1.57"
name = "axum-core"
version = "0.4.5"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and traits for axum"
homepage = "https://github.com/tokio-rs/axum"
readme = "README.md"
keywords = [
    "http",
    "web",
    "framework",
]
categories = [
    "asynchronous",
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/tokio-rs/axum"

[package.metadata.cargo-public-api-crates]
allowed = [
    "futures_core",
    "tower_layer",
    "bytes",
    "http",
    "http_body",
]

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

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

[dependencies.async-trait]
version = "0.1.67"

[dependencies.bytes]
version = "1.2"

[dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false

[dependencies.http]
version = "1.0.0"

[dependencies.http-body]
version = "1.0.0"

[dependencies.http-body-util]
version = "0.1.0"

[dependencies.mime]
version = "0.3.16"

[dependencies.pin-project-lite]
version = "0.2.7"

[dependencies.rustversion]
version = "1.0.9"

[dependencies.sync_wrapper]
version = "1.0.0"

[dependencies.tower-http]
version = "0.6.0"
features = ["limit"]
optional = true

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

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

[dependencies.tracing]
version = "0.1.37"
optional = true
default-features = false

[dev-dependencies.axum]
version = "0.7.2"

[dev-dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false

[dev-dependencies.hyper]
version = "1.0.0"

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

[dev-dependencies.tower-http]
version = "0.6.0"
features = ["limit"]

[features]
__private_docs = ["dep:tower-http"]
tracing = ["dep:tracing"]
