| # 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.63" |
| name = "axum" |
| version = "0.6.20" |
| 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::http-server", |
| ] |
| license = "MIT" |
| repository = "https://github.com/tokio-rs/axum" |
| |
| [package.metadata.cargo-public-api-crates] |
| allowed = [ |
| "async_trait", |
| "axum_core", |
| "axum_macros", |
| "bytes", |
| "futures_core", |
| "futures_sink", |
| "futures_util", |
| "headers", |
| "headers_core", |
| "http", |
| "http_body", |
| "hyper", |
| "serde", |
| "serde_json", |
| "tower_layer", |
| "tower_service", |
| ] |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| rustdoc-args = [ |
| "--cfg", |
| "docsrs", |
| ] |
| |
| [package.metadata.playground] |
| features = [ |
| "http1", |
| "http2", |
| "json", |
| "multipart", |
| "ws", |
| ] |
| |
| [[bench]] |
| name = "benches" |
| harness = false |
| |
| [dependencies.async-trait] |
| version = "0.1.67" |
| |
| [dependencies.axum-core] |
| version = "0.3.4" |
| |
| [dependencies.axum-macros] |
| version = "0.3.8" |
| optional = true |
| |
| [dependencies.base64] |
| version = "0.21.0" |
| 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.9" |
| |
| [dependencies.http-body] |
| version = "0.4.4" |
| |
| [dependencies.hyper] |
| version = "0.14.24" |
| features = ["stream"] |
| |
| [dependencies.itoa] |
| version = "1.0.5" |
| |
| [dependencies.matchit] |
| version = "0.7" |
| |
| [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_path_to_error] |
| version = "0.1.8" |
| optional = true |
| |
| [dependencies.serde_urlencoded] |
| version = "0.7" |
| optional = true |
| |
| [dependencies.sha1] |
| version = "0.10" |
| optional = true |
| |
| [dependencies.sync_wrapper] |
| version = "0.1.1" |
| |
| [dependencies.tokio] |
| version = "1.25.0" |
| features = ["time"] |
| optional = true |
| package = "tokio" |
| |
| [dependencies.tokio-tungstenite] |
| version = "0.20" |
| optional = true |
| |
| [dependencies.tower] |
| version = "0.4.13" |
| features = ["util"] |
| default-features = false |
| |
| [dependencies.tower-http] |
| version = "0.4" |
| features = [ |
| "add-extension", |
| "auth", |
| "catch-panic", |
| "compression-br", |
| "compression-deflate", |
| "compression-gzip", |
| "cors", |
| "decompression-br", |
| "decompression-deflate", |
| "decompression-gzip", |
| "follow-redirect", |
| "fs", |
| "limit", |
| "map-request-body", |
| "map-response-body", |
| "metrics", |
| "normalize-path", |
| "propagate-header", |
| "redirect", |
| "request-id", |
| "sensitive-headers", |
| "set-header", |
| "set-status", |
| "timeout", |
| "trace", |
| "util", |
| "validate-request", |
| ] |
| optional = true |
| |
| [dependencies.tower-layer] |
| version = "0.3.2" |
| |
| [dependencies.tower-service] |
| version = "0.3" |
| |
| [dependencies.tracing] |
| version = "0.1" |
| optional = true |
| default-features = false |
| |
| [dev-dependencies.anyhow] |
| version = "1.0" |
| |
| [dev-dependencies.axum-macros] |
| version = "0.3.8" |
| features = ["__private"] |
| |
| [dev-dependencies.quickcheck] |
| version = "1.0" |
| |
| [dev-dependencies.quickcheck_macros] |
| version = "1.0" |
| |
| [dev-dependencies.reqwest] |
| version = "0.11.14" |
| features = [ |
| "json", |
| "stream", |
| "multipart", |
| ] |
| default-features = false |
| |
| [dev-dependencies.rustversion] |
| version = "1.0.9" |
| |
| [dev-dependencies.serde] |
| version = "1.0" |
| features = ["derive"] |
| |
| [dev-dependencies.serde_json] |
| version = "1.0" |
| |
| [dev-dependencies.time] |
| version = "0.3" |
| features = ["serde-human-readable"] |
| |
| [dev-dependencies.tokio] |
| version = "1.25.0" |
| features = [ |
| "macros", |
| "rt", |
| "rt-multi-thread", |
| "net", |
| "test-util", |
| ] |
| package = "tokio" |
| |
| [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.4" |
| features = [ |
| "add-extension", |
| "auth", |
| "catch-panic", |
| "compression-br", |
| "compression-deflate", |
| "compression-gzip", |
| "cors", |
| "decompression-br", |
| "decompression-deflate", |
| "decompression-gzip", |
| "follow-redirect", |
| "fs", |
| "limit", |
| "map-request-body", |
| "map-response-body", |
| "metrics", |
| "normalize-path", |
| "propagate-header", |
| "redirect", |
| "request-id", |
| "sensitive-headers", |
| "set-header", |
| "set-status", |
| "timeout", |
| "trace", |
| "util", |
| "validate-request", |
| ] |
| |
| [dev-dependencies.tracing] |
| version = "0.1" |
| |
| [dev-dependencies.tracing-subscriber] |
| version = "0.3" |
| features = ["json"] |
| |
| [dev-dependencies.uuid] |
| version = "1.0" |
| features = [ |
| "serde", |
| "v4", |
| ] |
| |
| [build-dependencies.rustversion] |
| version = "1.0.9" |
| |
| [features] |
| __private_docs = [ |
| "tower/full", |
| "dep:tower-http", |
| ] |
| default = [ |
| "form", |
| "http1", |
| "json", |
| "matched-path", |
| "original-uri", |
| "query", |
| "tokio", |
| "tower-log", |
| ] |
| form = ["dep:serde_urlencoded"] |
| http1 = ["hyper/http1"] |
| http2 = ["hyper/http2"] |
| json = [ |
| "dep:serde_json", |
| "dep:serde_path_to_error", |
| ] |
| macros = ["dep:axum-macros"] |
| matched-path = [] |
| multipart = ["dep:multer"] |
| original-uri = [] |
| query = ["dep:serde_urlencoded"] |
| tokio = [ |
| "dep:tokio", |
| "hyper/server", |
| "hyper/tcp", |
| "hyper/runtime", |
| "tower/make", |
| ] |
| tower-log = ["tower/log"] |
| tracing = [ |
| "dep:tracing", |
| "axum-core/tracing", |
| ] |
| ws = [ |
| "tokio", |
| "dep:tokio-tungstenite", |
| "dep:sha1", |
| "dep:base64", |
| ] |