mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-30 04:02:42 +01:00
6d7c277700
* Add example for parsing body based on `Content-Type` * format * Update examples/parse-body-based-on-content-type/src/main.rs Co-authored-by: Jonas Platte <jplatte+git@posteo.de> * fix copy/paste errors * rename type params Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
12 lines
342 B
TOML
12 lines
342 B
TOML
[package]
|
|
name = "example-parse-body-based-on-content-type"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
axum = { path = "../../axum" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|