fix(deps): update rust crate validator to 0.18 #6

Merged
realaravinth merged 1 commit from renovate/validator-0.x into master 2024-06-08 21:49:08 +05:30
2 changed files with 18 additions and 26 deletions

42
Cargo.lock generated
View file

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

View file

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