Skip to content

Commit

Permalink
Merge pull request #55 from ranger-ross/bump-validator
Browse files Browse the repository at this point in the history
Updated validator to `0.18`
  • Loading branch information
singulared authored Jul 11, 2024
2 parents 55cf3f4 + 760c57c commit f907a9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ documentation = "https://docs.rs/actix-web-validator/"
[dependencies]
actix-web = { version = "4", default-features = false }
actix-http = { version = "3" }
validator = { version = "0.16" }
validator = { version = "0.18" }
serde = "1"
serde_urlencoded = "0.7"
serde_json = "1"
Expand All @@ -29,6 +29,6 @@ thiserror = "1.0"

[dev-dependencies]
actix-web = { version = "4", default-features = false, features = ["macros"] }
validator = { version = "0.16", features = ["derive"]}
validator = { version = "0.18", features = ["derive"]}
serde = { version = "1", features = ["derive"] }
actix-service = "2"
2 changes: 1 addition & 1 deletion tests/test_error_transformation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn test_serde_json_error_transformation() {
#[derive(Serialize, Deserialize, Validate, Debug)]
#[serde(rename_all = "camelCase")]
pub struct SearchParams {
#[validate]
#[validate(nested)]
page_params: PageParams,
#[validate(url)]
redirect_results: String,
Expand Down

0 comments on commit f907a9a

Please sign in to comment.