fix(deps): update rust crate validator to 0.18
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Renovate Bot 2024-06-08 15:17:03 +00:00
parent 74a5779582
commit 1794b21bd6
2 changed files with 18 additions and 26 deletions

42
Cargo.lock generated
View file

@ -244,10 +244,14 @@ dependencies = [
] ]
[[package]] [[package]]
name = "if_chain" name = "idna"
version = "1.0.2" version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
dependencies = [
"unicode-bidi",
"unicode-normalization",
]
[[package]] [[package]]
name = "itoa" name = "itoa"
@ -724,7 +728,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5"
dependencies = [ dependencies = [
"form_urlencoded", "form_urlencoded",
"idna", "idna 0.4.0",
"percent-encoding", "percent-encoding",
] ]
@ -736,12 +740,12 @@ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
[[package]] [[package]]
name = "validator" name = "validator"
version = "0.16.1" version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b92f40481c04ff1f4f61f304d61793c7b56ff76ac1469f1beb199b1445b253bd" checksum = "db79c75af171630a3148bd3e6d7c4f42b6a9a014c2945bc5ed0020cbb8d9478e"
dependencies = [ dependencies = [
"idna", "idna 0.5.0",
"lazy_static", "once_cell",
"regex", "regex",
"serde", "serde",
"serde_derive", "serde_derive",
@ -752,28 +756,16 @@ dependencies = [
[[package]] [[package]]
name = "validator_derive" name = "validator_derive"
version = "0.16.0" version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc44ca3088bb3ba384d9aecf40c6a23a676ce23e09bdaca2073d99c207f864af" checksum = "55591299b7007f551ed1eb79a684af7672c19c3193fb9e0a31936987bb2438ec"
dependencies = [ dependencies = [
"if_chain", "darling",
"lazy_static", "once_cell",
"proc-macro-error", "proc-macro-error",
"proc-macro2", "proc-macro2",
"quote", "quote",
"regex", "syn 2.0.38",
"syn 1.0.109",
"validator_types",
]
[[package]]
name = "validator_types"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "111abfe30072511849c5910134e8baf8dc05de4c0e5903d681cbd5c9c4d611e3"
dependencies = [
"proc-macro2",
"syn 1.0.109",
] ]
[[package]] [[package]]

View file

@ -22,7 +22,7 @@ rust-argon2 = "2.0.0"
derive_more = "0.99.17" derive_more = "0.99.17"
unicode-normalization = "0.1.19" unicode-normalization = "0.1.19"
ammonia = "4.0.0" ammonia = "4.0.0"
validator = { version = "0.16", features = ["derive"]} validator = { version = "0.18", features = ["derive"]}
lazy_static = "1.4.0" lazy_static = "1.4.0"
regex = { version = "1.5.5", features = [ "perf-inline", "perf-dfa", "perf-literal", "perf-cache", "perf"]} regex = { version = "1.5.5", features = [ "perf-inline", "perf-dfa", "perf-literal", "perf-cache", "perf"]}
rand = "0.8.4" rand = "0.8.4"