mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
Add validator example (#352)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[package]
|
||||
edition = "2018"
|
||||
name = "example-validator"
|
||||
publish = false
|
||||
version = "0.1.0"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1"
|
||||
axum = { path = "../.." }
|
||||
http-body = "0.4.3"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
thiserror = "1.0.29"
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.2"
|
||||
validator = { version = "0.14.0", features = ["derive"] }
|
||||
Reference in New Issue
Block a user