fix: Lock validify dependency to version 1.0.12 in axum-valid
This commit addresses a compilation error caused by the validify crate update to version 1.1.1. By explicitly setting the validify dependency to version 1.0.12 in the Cargo.toml of the axum-valid project, we avoid the issue where the 'prost' attribute cannot be found in the newer version of validify. This serves as a temporary solution until the underlying issue with validify 1.1.1 is resolved.
This commit is contained in:
@@ -28,7 +28,8 @@ features = ["full", "aide"]
|
|||||||
axum = { version = "0.7.1", default-features = false }
|
axum = { version = "0.7.1", default-features = false }
|
||||||
garde = { version = "0.16.3", optional = true }
|
garde = { version = "0.16.3", optional = true }
|
||||||
validator = { version = "0.16.1", optional = true}
|
validator = { version = "0.16.1", optional = true}
|
||||||
validify = { version = "1.0.12", optional = true }
|
validify = { version = "=1.0", optional = true }
|
||||||
|
validify_derive = { version = "=1.0", optional = true }
|
||||||
|
|
||||||
[dependencies.axum-extra]
|
[dependencies.axum-extra]
|
||||||
version = "0.9.0"
|
version = "0.9.0"
|
||||||
@@ -73,7 +74,7 @@ default = ["basic", "validator"]
|
|||||||
basic = ["json", "form", "query"]
|
basic = ["json", "form", "query"]
|
||||||
garde = ["dep:garde"]
|
garde = ["dep:garde"]
|
||||||
validator = ["dep:validator"]
|
validator = ["dep:validator"]
|
||||||
validify = ["dep:validify"]
|
validify = ["dep:validify", "dep:validify_derive"]
|
||||||
json = ["axum/json"]
|
json = ["axum/json"]
|
||||||
form = ["axum/form"]
|
form = ["axum/form"]
|
||||||
query = ["axum/query"]
|
query = ["axum/query"]
|
||||||
|
|||||||
Reference in New Issue
Block a user