build(deps): update axum requirement from 0.6.x to 0.7.x
This commit is contained in:
36
Cargo.toml
36
Cargo.toml
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "axum-valid"
|
||||
version = "0.11.0"
|
||||
version = "0.12.0-alpha"
|
||||
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"
|
||||
@@ -25,38 +25,23 @@ edition = "2021"
|
||||
features = ["full"]
|
||||
|
||||
[dependencies]
|
||||
axum = { version = "0.6.20", default-features = false }
|
||||
garde = { version = "0.16.0", optional = true }
|
||||
axum = { version = "0.7.1", default-features = false }
|
||||
garde = { version = "0.16.3", optional = true }
|
||||
validator = { version = "0.16.1", optional = true}
|
||||
validify = { version = "1.0.12", optional = true }
|
||||
|
||||
[dependencies.axum_typed_multipart]
|
||||
version = "0.10.0"
|
||||
default-features = false
|
||||
optional = true
|
||||
|
||||
[dependencies.axum-msgpack]
|
||||
version = "0.3.0"
|
||||
default-features = false
|
||||
optional = true
|
||||
|
||||
[dependencies.axum-yaml]
|
||||
version = "0.3.0"
|
||||
default-features = false
|
||||
optional = true
|
||||
|
||||
[dependencies.axum-extra]
|
||||
version = "0.8.0"
|
||||
version = "0.9.0"
|
||||
default-features = false
|
||||
optional = true
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1.0.189"
|
||||
version = "1.0.193"
|
||||
optional = true
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = "1.0.72"
|
||||
axum = { version = "0.6.20", features = ["macros"] }
|
||||
axum = { version = "0.7.1", features = ["macros"] }
|
||||
tokio = { version = "1.33.0", features = ["full"] }
|
||||
hyper = { version = "0.14.27", features = ["full"] }
|
||||
reqwest = { version = "0.11.22", features = ["json", "multipart"] }
|
||||
@@ -78,10 +63,7 @@ validify = ["dep:validify"]
|
||||
json = ["axum/json"]
|
||||
form = ["axum/form"]
|
||||
query = ["axum/query"]
|
||||
typed_header = ["axum/headers"]
|
||||
typed_multipart = ["dep:axum_typed_multipart"]
|
||||
msgpack = ["dep:axum-msgpack"]
|
||||
yaml = ["dep:axum-yaml"]
|
||||
typed_header = ["extra", "axum-extra/typed-header"]
|
||||
into_json = ["json", "dep:serde"]
|
||||
422 = []
|
||||
extra = ["dep:axum-extra"]
|
||||
@@ -89,8 +71,8 @@ extra_typed_path = ["extra", "axum-extra/typed-routing"]
|
||||
extra_query = ["extra", "axum-extra/query"]
|
||||
extra_form = ["extra", "axum-extra/form"]
|
||||
extra_protobuf = ["extra", "axum-extra/protobuf"]
|
||||
all_extra_types = ["extra", "extra_typed_path", "extra_query", "extra_form", "extra_protobuf"]
|
||||
all_types = ["json", "form", "query", "typed_header", "typed_multipart", "msgpack", "yaml", "all_extra_types"]
|
||||
all_extra_types = ["extra", "typed_header", "extra_typed_path", "extra_query", "extra_form", "extra_protobuf"]
|
||||
all_types = ["json", "form", "query", "all_extra_types"]
|
||||
full_validator = ["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