From 01981268ffd5fa777569e79ec993193248abe967 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 7 Jun 2024 10:08:16 +0000 Subject: [PATCH] fix(deps): update rust crate validator to 0.18 --- Cargo.lock | 118 +++++++++++++++++++++++++++++++---------------------- Cargo.toml | 2 +- 2 files changed, 71 insertions(+), 49 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ce4022a..412a987 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -624,8 +624,18 @@ version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.14.4", + "darling_macro 0.14.4", +] + +[[package]] +name = "darling" +version = "0.20.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83b2eb4d90d12bdda5ed17de686c2acb4c57914f8f921b8da7e112b5a36f3fe1" +dependencies = [ + "darling_core 0.20.9", + "darling_macro 0.20.9", ] [[package]] @@ -638,21 +648,46 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim", + "strsim 0.10.0", "syn 1.0.109", ] +[[package]] +name = "darling_core" +version = "0.20.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622687fe0bac72a04e5599029151f5796111b90f1baaa9b544d807a5e31cd120" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim 0.11.1", + "syn 2.0.38", +] + [[package]] name = "darling_macro" version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" dependencies = [ - "darling_core", + "darling_core 0.14.4", "quote", "syn 1.0.109", ] +[[package]] +name = "darling_macro" +version = "0.20.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "733cabb43482b1a1b53eee8583c2b9e8684d592215ea83efd305dd31bc2f0178" +dependencies = [ + "darling_core 0.20.9", + "quote", + "syn 2.0.38", +] + [[package]] name = "der" version = "0.7.8" @@ -688,7 +723,7 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c11bdc11a0c47bc7d37d582b5285da6849c96681023680b906673c5707af7b0f" dependencies = [ - "darling", + "darling 0.14.4", "proc-macro2", "quote", "syn 1.0.109", @@ -1156,20 +1191,19 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "0.2.3" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" +checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" dependencies = [ - "matches", "unicode-bidi", "unicode-normalization", ] [[package]] name = "idna" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -1363,12 +1397,6 @@ dependencies = [ "tendril", ] -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - [[package]] name = "mcaptcha-ux-survey" version = "0.1.0" @@ -1387,7 +1415,7 @@ dependencies = [ "sqlx", "url", "urlencoding", - "validator 0.15.0", + "validator 0.18.1", ] [[package]] @@ -2454,6 +2482,12 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + [[package]] name = "subtle" version = "2.5.0" @@ -2768,22 +2802,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" -[[package]] -name = "validator" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f07b0a1390e01c0fc35ebb26b28ced33c9a3808f7f9fbe94d3cc01e233bfeed5" -dependencies = [ - "idna 0.2.3", - "lazy_static", - "regex", - "serde 1.0.190", - "serde_derive", - "serde_json", - "url", - "validator_derive 0.15.0", -] - [[package]] name = "validator" version = "0.16.1" @@ -2801,19 +2819,19 @@ dependencies = [ ] [[package]] -name = "validator_derive" -version = "0.15.0" +name = "validator" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea7ed5e8cf2b6bdd64a6c4ce851da25388a89327b17b88424ceced6bd5017923" +checksum = "db79c75af171630a3148bd3e6d7c4f42b6a9a014c2945bc5ed0020cbb8d9478e" dependencies = [ - "if_chain", - "lazy_static", - "proc-macro-error", - "proc-macro2", - "quote", + "idna 0.5.0", + "once_cell", "regex", - "syn 1.0.109", - "validator_types 0.15.0", + "serde 1.0.190", + "serde_derive", + "serde_json", + "url", + "validator_derive 0.18.1", ] [[package]] @@ -2829,17 +2847,21 @@ dependencies = [ "quote", "regex", "syn 1.0.109", - "validator_types 0.16.0", + "validator_types", ] [[package]] -name = "validator_types" -version = "0.15.0" +name = "validator_derive" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ddf34293296847abfc1493b15c6e2f5d3cd19f57ad7d22673bf4c6278da329" +checksum = "55591299b7007f551ed1eb79a684af7672c19c3193fb9e0a31936987bb2438ec" dependencies = [ + "darling 0.20.9", + "once_cell", + "proc-macro-error", "proc-macro2", - "syn 1.0.109", + "quote", + "syn 2.0.38", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index a04d396..509de08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ actix-web-codegen-const-routes = "0.2.0" argon2-creds = "0.2.3" config = "0.11" -validator = { version = "0.15", features = ["derive"]} +validator = { version = "0.18", features = ["derive"]} serde = { version = "1", features = ["derive"]} sqlx = { version = "0.7.2", features = [ "time", "runtime-tokio", "migrate", "postgres"] } serde_json = "1"