From d937fe257f4ecbb3cc755d49a64e1826621facf3 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 8 Jun 2024 07:37:10 +0000 Subject: [PATCH] fix(deps): update rust crate validator to 0.18 --- Cargo.lock | 147 +++++++++++++++++++++++++++++++++++++---------------- Cargo.toml | 2 +- 2 files changed, 104 insertions(+), 45 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4204a0a..e9e3da0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -404,7 +404,7 @@ version = "0.2.2" source = "git+https://github.com/realaravinth/argon2-creds?branch=master#9f43fd564448cae609d148a700de91e2aea6474c" dependencies = [ "ammonia", - "derive_builder", + "derive_builder 0.11.2", "derive_more", "lazy_static", "rand", @@ -596,7 +596,7 @@ version = "0.2.0" source = "git+https://github.com/realaravinth/cache-buster#7ca4545722fb99be30698a5e72c7d982a70fa11f" dependencies = [ "data-encoding", - "derive_builder", + "derive_builder 0.11.2", "mime", "mime_guess", "serde", @@ -935,8 +935,18 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0808e1bd8671fb44a113a14e13497557533369847788fa2ae912b6ebfce9fa8" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.14.3", + "darling_macro 0.14.3", +] + +[[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]] @@ -949,21 +959,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.66", +] + [[package]] name = "darling_macro" version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b36230598a2d5de7ec1c6f51f72d8a99a9208daff41de2084d06e3fd3ea56685" dependencies = [ - "darling_core", + "darling_core 0.14.3", "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.66", +] + [[package]] name = "data-encoding" version = "2.3.3" @@ -987,7 +1022,16 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d07adf7be193b71cc36b193d0f5fe60b918a3a9db4dad0449f57bcfd519704a3" dependencies = [ - "derive_builder_macro", + "derive_builder_macro 0.11.2", +] + +[[package]] +name = "derive_builder" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0350b5cb0331628a5916d6c5c0b72e97393b8b6b03b47a9284f4e7f5a405ffd7" +dependencies = [ + "derive_builder_macro 0.20.0", ] [[package]] @@ -996,22 +1040,44 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f91d4cfa921f1c05904dc3c57b4a32c38aed3340cce209f3a6fd1478babafc4" dependencies = [ - "darling", + "darling 0.14.3", "proc-macro2", "quote", "syn 1.0.109", ] +[[package]] +name = "derive_builder_core" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d48cda787f839151732d396ac69e3473923d54312c070ee21e9effcaa8ca0b1d" +dependencies = [ + "darling 0.20.9", + "proc-macro2", + "quote", + "syn 2.0.66", +] + [[package]] name = "derive_builder_macro" version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f0314b72bed045f3a68671b3c86328386762c93f82d98c65c3cb5e5f573dd68" dependencies = [ - "derive_builder_core", + "derive_builder_core 0.11.2", "syn 1.0.109", ] +[[package]] +name = "derive_builder_macro" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "206868b8242f27cecce124c19fd88157fbd0dd334df2587f36417bafbc85097b" +dependencies = [ + "derive_builder_core 0.20.0", + "syn 2.0.66", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -3137,6 +3203,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.4.1" @@ -3162,7 +3234,7 @@ dependencies = [ "cache-buster", "config", "csv-async", - "derive_builder", + "derive_builder 0.20.0", "derive_more", "futures", "lazy_static", @@ -3183,7 +3255,7 @@ dependencies = [ "url", "urlencoding", "uuid", - "validator 0.14.0", + "validator 0.18.1", ] [[package]] @@ -3457,7 +3529,7 @@ version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ - "indexmap 2.0.2", + "indexmap", "serde", "serde_spanned", "toml_datetime", @@ -3683,23 +3755,6 @@ version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e8257fbc510f0a46eb602c10215901938b5c2a7d5e70fc11483b1d3c9b5b18c" -[[package]] -name = "validator" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d0f08911ab0fee2c5009580f04615fa868898ee57de10692a45da0c3bcc3e5e" -dependencies = [ - "idna 0.2.3", - "lazy_static", - "regex", - "serde", - "serde_derive", - "serde_json", - "url", - "validator_derive 0.14.0", - "validator_types 0.14.0", -] - [[package]] name = "validator" version = "0.15.0" @@ -3717,19 +3772,19 @@ dependencies = [ ] [[package]] -name = "validator_derive" -version = "0.14.0" +name = "validator" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d85135714dba11a1bd0b3eb1744169266f1a38977bf4e3ff5e2e1acb8c2b7eee" +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.14.0", + "serde", + "serde_derive", + "serde_json", + "url", + "validator_derive 0.18.1", ] [[package]] @@ -3745,17 +3800,21 @@ dependencies = [ "quote", "regex", "syn 1.0.109", - "validator_types 0.15.0", + "validator_types", ] [[package]] -name = "validator_types" -version = "0.14.0" +name = "validator_derive" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ded9d97e1d42327632f5f3bae6403c04886e2de3036261ef42deebd931a6a291" +checksum = "55591299b7007f551ed1eb79a684af7672c19c3193fb9e0a31936987bb2438ec" dependencies = [ + "darling 0.20.9", + "once_cell", + "proc-macro-error", "proc-macro2", - "syn 1.0.109", + "quote", + "syn 2.0.66", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 1e3eab8..352dbf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ sqlx = { version = "0.7", features = [ "runtime-tokio-rustls", "postgres", "time argon2-creds = { branch = "master", git = "https://github.com/realaravinth/argon2-creds"} derive_builder = "0.20" -validator = { version = "0.14", features = ["derive"]} +validator = { version = "0.18", features = ["derive"]} derive_more = "0.99" config = "0.14" -- 2.39.5