From 3513108eb5d2791db877b84c8454b32b346b327b Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Tue, 18 Jul 2023 16:22:00 +0100 Subject: [PATCH] update mysql dep to 24 --- Cargo.lock | 95 +++-------------------------- graphql/juniper-advanced/Cargo.toml | 4 +- 2 files changed, 9 insertions(+), 90 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 68dfe62..6df66e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4235,7 +4235,7 @@ dependencies = [ "env_logger", "juniper", "log", - "mysql 23.0.1", + "mysql 24.0.0", "r2d2", "r2d2_mysql", "serde", @@ -4498,15 +4498,6 @@ version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" -[[package]] -name = "lru" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" -dependencies = [ - "hashbrown 0.12.3", -] - [[package]] name = "lru" version = "0.10.1" @@ -4886,32 +4877,6 @@ dependencies = [ "serde", ] -[[package]] -name = "mysql" -version = "23.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f11339ca5c251941805d51362a07823605a80586ced92914ab7de84fba813f" -dependencies = [ - "bufstream", - "bytes 1.4.0", - "crossbeam", - "flate2", - "io-enum", - "libc", - "lru 0.8.1", - "mysql_common 0.29.2", - "named_pipe", - "native-tls", - "once_cell", - "pem 1.1.1", - "percent-encoding", - "serde", - "serde_json", - "socket2 0.4.9", - "twox-hash", - "url", -] - [[package]] name = "mysql" version = "24.0.0" @@ -4924,12 +4889,12 @@ dependencies = [ "flate2", "io-enum", "libc", - "lru 0.10.1", - "mysql_common 0.30.6", + "lru", + "mysql_common", "named_pipe", "native-tls", "once_cell", - "pem 2.0.1", + "pem", "percent-encoding", "serde", "serde_json", @@ -4956,43 +4921,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "mysql_common" -version = "0.29.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9006c95034ccf7b903d955f210469119f6c3477fc9c9e7a7845ce38a3e665c2a" -dependencies = [ - "base64 0.13.1", - "bigdecimal", - "bindgen", - "bitflags 1.3.2", - "bitvec", - "byteorder", - "bytes 1.4.0", - "cc", - "cmake", - "crc32fast", - "flate2", - "frunk", - "lazy_static", - "lexical", - "num-bigint", - "num-traits", - "rand 0.8.5", - "regex", - "rust_decimal", - "saturating", - "serde", - "serde_json", - "sha1 0.10.5", - "sha2", - "smallvec 1.11.0", - "subprocess", - "thiserror", - "time 0.3.22", - "uuid 1.4.0", -] - [[package]] name = "mysql_common" version = "0.30.6" @@ -5399,15 +5327,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" -[[package]] -name = "pem" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" -dependencies = [ - "base64 0.13.1", -] - [[package]] name = "pem" version = "2.0.1" @@ -5851,11 +5770,11 @@ dependencies = [ [[package]] name = "r2d2_mysql" -version = "23.0.0" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9733d738ce65959a744f387bae69aa690a867e18d48e5486b171c47bc7b0c575" +checksum = "3fe5127e6c21971cdb9580f2f54cbe6d9c2226eb861036c3ca6d390c25f52574" dependencies = [ - "mysql 23.0.1", + "mysql 24.0.0", "r2d2", ] diff --git a/graphql/juniper-advanced/Cargo.toml b/graphql/juniper-advanced/Cargo.toml index 888fe88..ff32b36 100644 --- a/graphql/juniper-advanced/Cargo.toml +++ b/graphql/juniper-advanced/Cargo.toml @@ -10,9 +10,9 @@ actix-cors.workspace = true juniper = "0.15" -mysql = "23" # waiting on r2d2_mysql update +mysql = "24" r2d2 = "0.8" -r2d2_mysql = "23" +r2d2_mysql = "24" dotenv = "0.15" env_logger.workspace = true