Skip to content

Commit

Permalink
Updated validator
Browse files Browse the repository at this point in the history
  • Loading branch information
DenuxPlays committed Jan 20, 2025
1 parent ae993b4 commit 0c57af7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ byte-unit = "4.0.19"
argon2 = { version = "0.5.2", features = ["std"] }
rand = { version = "0.8.5", features = ["std"] }
jsonwebtoken = { version = "9.3.0", optional = true }
validator = { version = "0.19.0", features = ["derive"] }
validator = { version = "0.20.0", features = ["derive"] }
futures-util = "0.3"
tower = { workspace = true }
hyper = "1.1"
Expand Down
12 changes: 6 additions & 6 deletions examples/demo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tokio = { version = "1.33.0", features = ["full"] }
async-trait = "0.1.74"
tracing = "0.1.40"
chrono = "0.4"
validator = { version = "0.19" }
validator = { version = "0.20" }
sea-orm = { version = "1.1.0", features = [
"sqlx-sqlite",
"sqlx-postgres",
Expand Down
2 changes: 1 addition & 1 deletion examples/llm-candle-inference/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ serde_json = "1"
tokio = { version = "1.33.0", default-features = false }
async-trait = "0.1.74"
tracing = "0.1.40"
validator = { version = "0.19.0" }
validator = { version = "0.20.0" }

axum = "0.8.1"
include_dir = "0.7.3"
Expand Down
2 changes: 1 addition & 1 deletion loco-new/base_template/Cargo.toml.t
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ sea-orm = { version = "1.1.0", features = [
"macros",
] }
chrono = { version = "0.4" }
validator = { version = "0.19" }
validator = { version = "0.20" }
uuid = { version = "1.6.0", features = ["v4"] }
{%- endif %}

Expand Down
2 changes: 1 addition & 1 deletion src/doctor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn get_min_dep_versions() -> &'static HashMap<&'static str, &'static str> {

min_vers.insert("tokio", "1.33.0");
min_vers.insert("sea-orm", "1.1.0");
min_vers.insert("validator", "0.19.0");
min_vers.insert("validator", "0.20.0");
min_vers.insert("axum", "0.8.1");

min_vers
Expand Down

0 comments on commit 0c57af7

Please sign in to comment.