remove redundant trait bound; add support for validify
This commit is contained in:
@@ -27,6 +27,7 @@ features = ["all_types", "garde"]
|
||||
axum = { version = "0.6.20", default-features = false }
|
||||
garde = { version = "0.15.0", optional = true }
|
||||
validator = { version = "0.16.1", optional = true}
|
||||
validify = { version = "1.0.12", optional = true }
|
||||
|
||||
[dependencies.axum_typed_multipart]
|
||||
version = "0.10.0"
|
||||
@@ -72,6 +73,7 @@ default = ["basic", "validator"]
|
||||
basic = ["json", "form", "query"]
|
||||
garde = ["dep:garde"]
|
||||
validator = ["dep:validator"]
|
||||
validify = ["dep:validify"]
|
||||
json = ["axum/json"]
|
||||
form = ["axum/form"]
|
||||
query = ["axum/query"]
|
||||
@@ -90,3 +92,4 @@ all_extra_types = ["extra", "extra_typed_path", "extra_query", "extra_form", "ex
|
||||
all_types = ["json", "form", "query", "typed_header", "typed_multipart", "msgpack", "yaml", "all_extra_types"]
|
||||
full = ["validator", "all_types", "422", "into_json"]
|
||||
full_garde = ["garde", "all_types", "422", "into_json"]
|
||||
full_validify = ["validify", "all_types", "422", "into_json"]
|
||||
|
||||
Reference in New Issue
Block a user