mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-29 15:49:16 +01:00
9004a14302
* Move `middleware::from_fn` into axum * changelog * fix feature * Rephrase changelog a bit
38 lines
1 KiB
TOML
38 lines
1 KiB
TOML
[package]
|
|
categories = ["asynchronous", "network-programming", "web-programming"]
|
|
description = "Extra utilities for axum"
|
|
edition = "2018"
|
|
homepage = "https://github.com/tokio-rs/axum"
|
|
keywords = ["http", "web", "framework"]
|
|
license = "MIT"
|
|
name = "axum-extra"
|
|
readme = "README.md"
|
|
repository = "https://github.com/tokio-rs/axum"
|
|
version = "0.1.2"
|
|
|
|
[features]
|
|
erased-json = ["serde", "serde_json"]
|
|
|
|
[dependencies]
|
|
axum = { path = "../axum", version = "0.4" }
|
|
bytes = "1.1.0"
|
|
http = "0.2"
|
|
mime = "0.3"
|
|
pin-project-lite = "0.2"
|
|
tower = { version = "0.4", default_features = false, features = ["util"] }
|
|
tower-http = { version = "0.2", features = ["map-response-body"] }
|
|
tower-layer = "0.3"
|
|
tower-service = "0.3"
|
|
|
|
# optional dependencies
|
|
serde = { version = "1.0.130", optional = true }
|
|
serde_json = { version = "1.0.71", optional = true }
|
|
|
|
[dev-dependencies]
|
|
hyper = "0.14"
|
|
tokio = { version = "1.14", features = ["full"] }
|
|
tower = { version = "0.4", features = ["util"] }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdocflags = ["--cfg", "docsrs"]
|