# 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"
name = "axum"
version = "0.5.10"
description = "Web framework that focuses on ergonomics and modularity"
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.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.playground]
features = [
    "http1",
    "http2",
    "json",
    "multipart",
    "ws",
]

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

[dependencies.axum-core]
version = "0.2.6"

[dependencies.base64]
version = "0.13"
optional = true

[dependencies.bitflags]
version = "1.0"

[dependencies.bytes]
version = "1.0"

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

[dependencies.headers]
version = "0.3.7"
optional = true

[dependencies.http]
version = "0.2.5"

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

[dependencies.hyper]
version = "0.14.14"
features = [
    "server",
    "tcp",
    "stream",
]

[dependencies.itoa]
version = "1.0.1"

[dependencies.matchit]
version = "0.5.0"

[dependencies.memchr]
version = "2.4.1"

[dependencies.mime]
version = "0.3.16"

[dependencies.multer]
version = "2.0.0"
optional = true

[dependencies.percent-encoding]
version = "2.1"

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

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]
optional = true

[dependencies.serde_urlencoded]
version = "0.7"
optional = true

[dependencies.sha-1]
version = "0.10"
optional = true

[dependencies.sync_wrapper]
version = "0.1.1"

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

[dependencies.tokio-tungstenite]
version = "0.17"
optional = true

[dependencies.tower]
version = "0.4.11"
features = [
    "util",
    "make",
]
default-features = false

[dependencies.tower-http]
version = "0.3.0"
features = [
    "util",
    "map-response-body",
]

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

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

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.quickcheck]
version = "1.0"

[dev-dependencies.quickcheck_macros]
version = "1.0"

[dev-dependencies.reqwest]
version = "0.11.11"
features = [
    "json",
    "stream",
    "multipart",
]
default-features = false

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1.6.1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "net",
    "test-util",
]

[dev-dependencies.tokio-stream]
version = "0.1"

[dev-dependencies.tower]
version = "0.4.10"
features = [
    "util",
    "timeout",
    "limit",
    "load-shed",
    "steer",
    "filter",
]
package = "tower"

[dev-dependencies.tower-http]
version = "0.3.4"
features = ["full"]

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.uuid]
version = "1.0"
features = [
    "serde",
    "v4",
]

[features]
default = [
    "form",
    "http1",
    "json",
    "matched-path",
    "original-uri",
    "query",
    "tower-log",
]
form = ["serde_urlencoded"]
http1 = ["hyper/http1"]
http2 = ["hyper/http2"]
json = ["serde_json"]
matched-path = []
multipart = ["multer"]
original-uri = []
query = ["serde_urlencoded"]
tower-log = ["tower/log"]
ws = [
    "tokio-tungstenite",
    "sha-1",
    "base64",
]
