mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-26 09:08:05 +01:00
f045f2356c
* Cookie management * fix feature * Update axum-extra/src/extract/cookie.rs Co-authored-by: Jonas Platte <jplatte+git@posteo.de> * add tests * Apply suggestions from code review Co-authored-by: Jonas Platte <jplatte+git@posteo.de> * less convoluted wording * changelog * Make the jars themselves implement `IntoResponseParts` * dedup tests * fix docs Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
46 lines
1.5 KiB
TOML
46 lines
1.5 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]
|
|
default = []
|
|
erased-json = ["serde_json", "serde"]
|
|
typed-routing = ["axum-macros", "serde", "percent-encoding"]
|
|
cookie = ["cookie-lib"]
|
|
|
|
[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
|
|
axum-macros = { path = "../axum-macros", version = "0.1", optional = true }
|
|
serde = { version = "1.0", optional = true }
|
|
serde_json = { version = "1.0.71", optional = true }
|
|
percent-encoding = { version = "2.1", optional = true }
|
|
cookie-lib = { package = "cookie", version = "0.16", features = ["percent-encode", "signed"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
axum = { path = "../axum", version = "0.4", features = ["headers"] }
|
|
hyper = "0.14"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tokio = { version = "1.14", features = ["full"] }
|
|
tower = { version = "0.4", features = ["util"] }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdocflags = ["--cfg", "docsrs"]
|