From 9139e52b974b114a1dfaee1888e8274573182861 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 16:38:12 +0000 Subject: [PATCH] Bump diesel from 1.4.7 to 2.0.2 Bumps [diesel](https://github.com/diesel-rs/diesel) from 1.4.7 to 2.0.2. - [Release notes](https://github.com/diesel-rs/diesel/releases) - [Changelog](https://github.com/diesel-rs/diesel/blob/master/CHANGELOG.md) - [Commits](https://github.com/diesel-rs/diesel/compare/v1.4.7...v2.0.2) --- updated-dependencies: - dependency-name: diesel dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 175 +++++++++++++++++++++++++++++++++++++++----- rask_api/Cargo.toml | 2 +- rask_cli/Cargo.toml | 2 +- rask_lib/Cargo.toml | 2 +- 4 files changed, 158 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72bda80..3feef56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,6 +11,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + [[package]] name = "anyhow" version = "1.0.43" @@ -156,15 +165,17 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.19" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1" dependencies = [ - "libc", + "iana-time-zone", + "js-sys", "num-integer", "num-traits", "serde", "time 0.1.43", + "wasm-bindgen", "winapi", ] @@ -199,6 +210,16 @@ dependencies = [ "syn", ] +[[package]] +name = "codespan-reporting" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +dependencies = [ + "termcolor", + "unicode-width", +] + [[package]] name = "const_fn" version = "0.4.8" @@ -234,9 +255,53 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b" +checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" + +[[package]] +name = "cxx" +version = "1.0.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e599641dff337570f6aa9c304ecca92341d30bf72e1c50287869ed6a36615a6" +dependencies = [ + "cc", + "cxxbridge-flags", + "cxxbridge-macro", + "link-cplusplus", +] + +[[package]] +name = "cxx-build" +version = "1.0.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b49af8e551e84f85d6def97c42b8d93bc5bb0817cce96b56a472b1b19b5bfc2" +dependencies = [ + "cc", + "codespan-reporting", + "lazy_static", + "proc-macro2", + "quote", + "scratch", + "syn", +] + +[[package]] +name = "cxxbridge-flags" +version = "1.0.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3894ad0c6d517cb5a4ce8ec20b37cd0ea31b480fe582a104c5db67ae21270853" + +[[package]] +name = "cxxbridge-macro" +version = "1.0.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34fa7e395dc1c001083c7eed28c8f0f0b5a225610f3b6284675f444af6fab86b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] [[package]] name = "derive_more" @@ -286,18 +351,31 @@ dependencies = [ [[package]] name = "diesel" -version = "1.4.7" +version = "1.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bba51ca66f57261fd17cadf8b73e4775cc307d0521d855de3f5de91a8f074e0e" +checksum = "b28135ecf6b7d446b43e27e225622a038cc4e2930a1022f51cdb97ada19b8e4d" dependencies = [ "bitflags", "byteorder", - "chrono", - "diesel_derives", + "diesel_derives 1.4.1", "pq-sys", "r2d2", ] +[[package]] +name = "diesel" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68c186a7418a2aac330bb76cde82f16c36b03a66fb91db32d20214311f9f6545" +dependencies = [ + "bitflags", + "byteorder", + "chrono", + "diesel_derives 2.0.1", + "itoa 1.0.4", + "pq-sys", +] + [[package]] name = "diesel_derives" version = "1.4.1" @@ -309,6 +387,18 @@ dependencies = [ "syn", ] +[[package]] +name = "diesel_derives" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "143b758c91dbc3fe1fdcb0dba5bd13276c6a66422f2ef5795b58488248a310aa" +dependencies = [ + "proc-macro-error", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "diesel_migrations" version = "1.4.0" @@ -587,7 +677,7 @@ checksum = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11" dependencies = [ "bytes", "fnv", - "itoa", + "itoa 0.4.7", ] [[package]] @@ -628,7 +718,7 @@ dependencies = [ "http-body", "httparse", "httpdate", - "itoa", + "itoa 0.4.7", "pin-project-lite", "socket2", "tokio", @@ -650,6 +740,30 @@ dependencies = [ "tokio-native-tls", ] +[[package]] +name = "iana-time-zone" +version = "0.1.51" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5a6ef98976b22b3b7f2f3a806f858cb862044cfa66805aa3ad84cb3d3b785ed" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "winapi", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fde6edd6cef363e9359ed3c98ba64590ba9eecba2293eb5a723ab32aee8926aa" +dependencies = [ + "cxx", + "cxx-build", +] + [[package]] name = "idna" version = "0.2.3" @@ -708,6 +822,12 @@ version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" +[[package]] +name = "itoa" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" + [[package]] name = "js-sys" version = "0.3.51" @@ -725,9 +845,18 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.98" +version = "0.2.135" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68783febc7782c6c5cb401fbda4de5a9898be1762314da0bb2c10ced61f18b0c" + +[[package]] +name = "link-cplusplus" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790" +checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369" +dependencies = [ + "cc", +] [[package]] name = "lock_api" @@ -778,7 +907,7 @@ version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b4fc84e4af020b837029e017966f86a1c2d5e83e64b589963d5047525995860" dependencies = [ - "diesel", + "diesel 1.4.8", ] [[package]] @@ -1198,7 +1327,7 @@ name = "rask_api" version = "0.1.0" dependencies = [ "chrono", - "diesel", + "diesel 2.0.2", "diesel_migrations", "dotenv", "rask_lib", @@ -1217,7 +1346,7 @@ dependencies = [ "assert_cmd", "chrono", "clap", - "diesel", + "diesel 2.0.2", "dotenv", "predicates", "rask_lib", @@ -1232,7 +1361,7 @@ name = "rask_lib" version = "0.1.0" dependencies = [ "chrono", - "diesel", + "diesel 2.0.2", "serde", ] @@ -1421,7 +1550,7 @@ version = "0.1.0-rc.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38cfdfebd552d075c368e641c88a5cd6ce1c58c5c710548aeb777abb48830f4b" dependencies = [ - "diesel", + "diesel 1.4.8", "r2d2", "rocket", "rocket_sync_db_pools_codegen", @@ -1500,6 +1629,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +[[package]] +name = "scratch" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898" + [[package]] name = "security-framework" version = "2.3.1" @@ -1582,7 +1717,7 @@ version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79" dependencies = [ - "itoa", + "itoa 0.4.7", "ryu", "serde", ] @@ -1594,7 +1729,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edfa57a7f8d9c1d260a549e7224100f6c43d43f9103e06dd8b4095a9b2b43ce9" dependencies = [ "form_urlencoded", - "itoa", + "itoa 0.4.7", "ryu", "serde", ] diff --git a/rask_api/Cargo.toml b/rask_api/Cargo.toml index a657971..cf93812 100644 --- a/rask_api/Cargo.toml +++ b/rask_api/Cargo.toml @@ -8,7 +8,7 @@ version = "0.1.0" [dependencies] rask_lib = { path = "../rask_lib" } chrono = { version = "0.4", features = ["serde"]} -diesel = {version = "1.4.4", features = ["postgres", "chrono"]} +diesel = {version = "2.0.2", features = ["postgres", "chrono"]} diesel_migrations = "1.4.0" dotenv = "0.15.0" rocket = {version = "0.5.0-rc.1", features = ["json"]} diff --git a/rask_cli/Cargo.toml b/rask_cli/Cargo.toml index eec935e..dcb7c47 100644 --- a/rask_cli/Cargo.toml +++ b/rask_cli/Cargo.toml @@ -18,5 +18,5 @@ thiserror = "1.0" [dev-dependencies] assert_cmd = "2" predicates = "2" -diesel = {version = "1.4.4", features = ["postgres", "chrono"]} +diesel = {version = "2.0.2", features = ["postgres", "chrono"]} regex = "1" \ No newline at end of file diff --git a/rask_lib/Cargo.toml b/rask_lib/Cargo.toml index af00027..0ff7636 100644 --- a/rask_lib/Cargo.toml +++ b/rask_lib/Cargo.toml @@ -7,5 +7,5 @@ edition = "2018" [dependencies] chrono = { version = "0.4", features = ["serde"]} -diesel = {version = "1.4.4", features = ["postgres", "chrono"]} +diesel = {version = "2.0.2", features = ["postgres", "chrono"]} serde = {version = "1.0.130", features = ["derive"]} \ No newline at end of file