From 2309da8b9dff610321453fbbbc941958eb920772 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 10:40:10 +0000 Subject: [PATCH] chore(deps): update rust crate clickhouse to 0.13.0 --- Cargo.lock | 214 +++++++++++++++++++++-------------- crates/serverless/Cargo.toml | 4 +- 2 files changed, 134 insertions(+), 84 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3545d310..fa772365 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -206,7 +206,7 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fcf00bc6d5abb29b5f97e3c61a90b6d3caa12f3faf897d4a3e3607c050a35a7" dependencies = [ - "http", + "http 0.2.12", "log", "native-tls", "serde", @@ -257,7 +257,7 @@ dependencies = [ "chrono", "flate2", "futures", - "http", + "http 0.2.12", "num_enum", "reqwest", "serde", @@ -446,6 +446,12 @@ dependencies = [ "inout", ] +[[package]] +name = "cityhash-rs" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93a719913643003b84bd13022b4b7e703c09342cd03b679c4641c7d2e50dc34d" + [[package]] name = "clap" version = "4.5.23" @@ -474,7 +480,7 @@ version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro2", "quote", "syn 2.0.86", @@ -488,18 +494,21 @@ checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "clickhouse" -version = "0.11.6" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0875e527e299fc5f4faba42870bf199a39ab0bb2dbba1b8aef0a2151451130f" +checksum = "2135bb9638e8c8c1e3d794f242099e57987059ba52e7e3de597e1d99b2c4a5a3" dependencies = [ "bstr 1.10.0", "bytes", + "cityhash-rs", "clickhouse-derive", - "clickhouse-rs-cityhash-sys", "futures", - "hyper", - "hyper-tls", - "lz4", + "futures-channel", + "http-body-util", + "hyper 1.5.1", + "hyper-util", + "lz4_flex", + "replace_with", "sealed", "serde", "static_assertions", @@ -510,23 +519,14 @@ dependencies = [ [[package]] name = "clickhouse-derive" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18af5425854858c507eec70f7deb4d5d8cec4216fcb086283a78872387281ea5" +checksum = "d70f3e2893f7d3e017eeacdc9a708fbc29a10488e3ebca21f9df6a5d2b616dbb" dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 1.0.109", -] - -[[package]] -name = "clickhouse-rs-cityhash-sys" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4baf9d4700a28d6cb600e17ed6ae2b43298a5245f1f76b4eab63027ebfd592b9" -dependencies = [ - "cc", + "syn 2.0.86", ] [[package]] @@ -1130,7 +1130,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.12", "indexmap 2.6.0", "slab", "tokio", @@ -1168,15 +1168,6 @@ version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "heck" version = "0.5.0" @@ -1233,6 +1224,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -1240,7 +1242,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.12", + "pin-project-lite", +] + +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.2.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +dependencies = [ + "bytes", + "futures-util", + "http 1.2.0", + "http-body 1.0.1", "pin-project-lite", ] @@ -1267,8 +1292,8 @@ dependencies = [ "crossbeam-channel", "form_urlencoded", "futures", - "http", - "hyper", + "http 0.2.12", + "hyper 0.14.31", "log", "once_cell", "regex", @@ -1289,8 +1314,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.12", + "http-body 0.4.6", "httparse", "httpdate", "itoa", @@ -1302,6 +1327,26 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97818827ef4f364230e16705d4706e2897df2bb60617d6ca15d598025a3c481f" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.2.0", + "http-body 1.0.1", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + [[package]] name = "hyper-rustls" version = "0.24.2" @@ -1309,8 +1354,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", - "hyper", + "http 0.2.12", + "hyper 0.14.31", "rustls", "tokio", "tokio-rustls", @@ -1323,12 +1368,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper", + "hyper 0.14.31", "native-tls", "tokio", "tokio-native-tls", ] +[[package]] +name = "hyper-util" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.2.0", + "http-body 1.0.1", + "hyper 1.5.1", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + [[package]] name = "iana-time-zone" version = "0.1.61" @@ -1514,7 +1578,7 @@ dependencies = [ "dirs 5.0.1", "envfile", "flume", - "hyper", + "hyper 0.14.31", "indicatif", "lagoss-runtime", "lagoss-runtime-http", @@ -1537,7 +1601,7 @@ version = "0.1.0" dependencies = [ "flume", "httptest", - "hyper", + "hyper 0.14.31", "lagoss-runtime-http", "lagoss-runtime-isolate", "log", @@ -1574,7 +1638,7 @@ name = "lagoss-runtime-http" version = "0.1.0" dependencies = [ "anyhow", - "hyper", + "hyper 0.14.31", "lagoss-runtime-v8-utils", "v8", ] @@ -1587,7 +1651,7 @@ dependencies = [ "flate2", "flume", "futures", - "hyper", + "hyper 0.14.31", "lagoss-runtime-crypto", "lagoss-runtime-http", "lagoss-runtime-v8-utils", @@ -1605,7 +1669,7 @@ version = "0.1.0" dependencies = [ "anyhow", "flume", - "hyper", + "hyper 0.14.31", "lagoss-runtime-http", "tokio", ] @@ -1615,7 +1679,7 @@ name = "lagoss-runtime-v8-utils" version = "0.1.0" dependencies = [ "anyhow", - "hyper", + "hyper 0.14.31", "v8", ] @@ -1630,7 +1694,7 @@ dependencies = [ "dotenv", "flume", "futures", - "hyper", + "hyper 0.14.31", "lagoss-runtime", "lagoss-runtime-http", "lagoss-runtime-isolate", @@ -1693,7 +1757,7 @@ version = "0.1.0" dependencies = [ "console", "flume", - "hyper", + "hyper 0.14.31", "lagoss-runtime", "lagoss-runtime-http", "lagoss-runtime-isolate", @@ -1765,23 +1829,10 @@ dependencies = [ ] [[package]] -name = "lz4" -version = "1.28.0" +name = "lz4_flex" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d1febb2b4a79ddd1980eede06a8f7902197960aa0383ffcfdd62fe723036725" -dependencies = [ - "lz4-sys", -] - -[[package]] -name = "lz4-sys" -version = "1.11.1+lz4-1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bd8c0d6c6ed0cd30b3652886bb8711dc4bb01d637a68105a3d5158039b418e6" -dependencies = [ - "cc", - "libc", -] +checksum = "75761162ae2b0e580d7e7c390558127e5f01b4194debd6221fd8c207fc80e3f5" [[package]] name = "mach2" @@ -1842,7 +1893,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d4fa7ce7c4862db464a37b0b31d89bca874562f034bd7993895572783d02950" dependencies = [ "base64 0.21.7", - "hyper", + "hyper 0.14.31", "indexmap 1.9.3", "ipnet", "metrics", @@ -2522,6 +2573,12 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +[[package]] +name = "replace_with" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a8614ee435691de62bcffcf4a66d91b3594bf1428a5722e79103249a095690" + [[package]] name = "reqwest" version = "0.11.27" @@ -2535,9 +2592,9 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", - "hyper", + "http 0.2.12", + "http-body 0.4.6", + "hyper 0.14.31", "hyper-rustls", "hyper-tls", "ipnet", @@ -2655,7 +2712,7 @@ dependencies = [ "futures", "hex", "hmac", - "http", + "http 0.2.12", "log", "maybe-async", "md5", @@ -2794,14 +2851,13 @@ dependencies = [ [[package]] name = "sealed" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b5e421024b5e5edfbaa8e60ecf90bda9dbffc602dbb230e6028763f85f0c68c" +checksum = "22f968c5ea23d555e670b449c1c5e7b2fc399fdaec1d304a17cd48e288abc107" dependencies = [ - "heck 0.3.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.86", ] [[package]] @@ -2863,13 +2919,13 @@ dependencies = [ [[package]] name = "serde_derive_internals" -version = "0.26.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c" +checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.86", ] [[package]] @@ -3496,12 +3552,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-segmentation" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" - [[package]] name = "unicode-width" version = "0.1.14" @@ -3817,7 +3867,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/crates/serverless/Cargo.toml b/crates/serverless/Cargo.toml index d21fb62b..0fc98ce3 100644 --- a/crates/serverless/Cargo.toml +++ b/crates/serverless/Cargo.toml @@ -25,7 +25,7 @@ tokio-cron-scheduler = "0.9.4" # TODO: use a specific version of dashmap when the inline feature is released dashmap = { git = "https://github.com/xacrimon/dashmap.git", rev = "7f9522c5286cfbbb78df15f00f87b8331cb875d6", features = ["inline"] } futures = "0.3.28" -clickhouse = "0.11.6" +clickhouse = "0.13.0" bytes = "1.4.0" serde = { version = "1.0", features = ["derive"] } uuid = { version = "1.4.0", features = ["v4", "fast-rng"] } @@ -42,7 +42,7 @@ flume = "0.10.14" [dev-dependencies] serial_test = "2.0.0" -clickhouse = { version = "0.11.5", features = ["test-util"] } +clickhouse = { version = "0.13.0", features = ["test-util"] } [features] default = []