feat: Add support for aide

This commit is contained in:
gengteng
2023-12-18 16:45:31 +08:00
parent edddee3ccb
commit 053d3b5dc1
5 changed files with 36 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "axum-valid"
version = "0.13.0"
version = "0.14.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"
@@ -47,6 +47,10 @@ optional = true
version = "1.0.193"
optional = true
[dependencies.aide]
version = "0.13.0"
optional = true
[dev-dependencies]
anyhow = "1.0.72"
axum = { version = "0.7.1", features = ["macros"] }
@@ -92,3 +96,4 @@ full_validator = ["validator", "all_types", "422", "into_json"]
full_garde = ["garde", "all_types", "422", "into_json"]
full_validify = ["validify", "all_types", "422", "into_json"]
full = ["full_validator", "full_garde", "full_validify"]
aide = ["dep:aide", "aide/macros"]