mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 07:20:12 +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"] }
|