feat: Update validator to v0.17.0 and refactor argument-based validation using validator
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "axum-valid"
|
||||
version = "0.16.0"
|
||||
version = "0.17.0"
|
||||
description = "Provides validation extractors for your Axum application, allowing you to validate data using validator, garde, validify or all of them."
|
||||
authors = ["GengTeng <me@gteng.org>"]
|
||||
license = "MIT"
|
||||
@@ -27,7 +27,7 @@ features = ["full", "aide"]
|
||||
[dependencies]
|
||||
axum = { version = "0.7.3", default-features = false }
|
||||
garde = { version = "0.18.0", optional = true }
|
||||
validator = { version = "0.16.1", optional = true }
|
||||
validator = { version = "0.17.0", optional = true }
|
||||
validify = { version = "1.3.0", optional = true }
|
||||
|
||||
[dependencies.axum-extra]
|
||||
@@ -57,7 +57,7 @@ axum = { version = "0.7.1", features = ["macros"] }
|
||||
tokio = { version = "1.34.0", features = ["full"] }
|
||||
reqwest = { version = "0.11.23", features = ["json", "multipart"] }
|
||||
serde = { version = "1.0.195", features = ["derive"] }
|
||||
validator = { version = "0.16.1", features = ["derive"] }
|
||||
validator = { version = "0.17.0", features = ["derive"] }
|
||||
garde = { version = "0.18.0", features = ["serde", "derive"] }
|
||||
serde_json = "1.0.108"
|
||||
serde_yaml = "0.9.27"
|
||||
|
||||
Reference in New Issue
Block a user