mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Update Rust crate clickhouse to 0.12.0 (#17034)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [clickhouse](https://clickhouse.com) ([source](https://togithub.com/ClickHouse/clickhouse-rs)) | workspace.dependencies | minor | `0.11.6` -> `0.12.0` | --- ### Release Notes <details> <summary>ClickHouse/clickhouse-rs (clickhouse)</summary> ### [`v0.12.2`](https://togithub.com/ClickHouse/clickhouse-rs/blob/HEAD/CHANGELOG.md#0122---2024-08-20) [Compare Source](https://togithub.com/ClickHouse/clickhouse-rs/compare/v0.12.1...v0.12.2) ##### Changed - Now this crate is pure Rust, no more C/C++ dependencies. - insert: increase max size of frames to improve throughput ([#​130]). - compression: replace `lz4` sys binding with `lz4-flex` (pure Rust). - compression: replace `clickhouse-rs-cityhash-sys` sys binding with `cityhash-rs` (pure Rust) ([#​107]). ##### Deprecated - compression: `Compression::Lz4Hc` is deprecated and becomes an alias to `Compression::Lz4`. [#​130]: https://togithub.com/ClickHouse/clickhouse-rs/issues/130 [#​107]: https://togithub.com/ClickHouse/clickhouse-rs/issues/107 ### [`v0.12.1`](https://togithub.com/ClickHouse/clickhouse-rs/blob/HEAD/CHANGELOG.md#0121---2024-08-07) [Compare Source](https://togithub.com/ClickHouse/clickhouse-rs/compare/v0.12.0...v0.12.1) ##### Added - query/bind: support `Option` in `query.bind(arg)` ([#​119], [#​120]). - client: `Client::with_header()` to provide custom headers ([#​98], [#​108]). - query: added `Query::with_option()` similar to `Client::with_option()` ([#​123]). - insert: added `Insert::with_option()` similar to `Client::with_option()` ([#​123]). - inserter: added `Inserter::with_option()` similar to `Client::with_option()` ([#​123]). ##### Changed - insert: the outgoing request is now created after the first `Insert::write` call instead of `Insert::new` ([#​123]). [#​123]: https://togithub.com/ClickHouse/clickhouse-rs/pull/123 [#​120]: https://togithub.com/ClickHouse/clickhouse-rs/pull/120 [#​119]: https://togithub.com/ClickHouse/clickhouse-rs/issues/119 [#​108]: https://togithub.com/ClickHouse/clickhouse-rs/pull/108 [#​98]: https://togithub.com/ClickHouse/clickhouse-rs/issues/98 ### [`v0.12.0`](https://togithub.com/ClickHouse/clickhouse-rs/blob/HEAD/CHANGELOG.md#0120---2024-07-16) [Compare Source](https://togithub.com/ClickHouse/clickhouse-rs/compare/v0.11.6...v0.12.0) ##### Added - derive: support `serde::skip_deserializing` ([#​83]). - insert: apply options set on the client ([#​90]). - inserter: can be limited by size, see `Inserter::with_max_bytes()`. - inserter: `Inserter::pending()` to get stats about still being inserted data. - inserter: `Inserter::force_commit()` to commit and insert immediately. - mock: impl `Default` instance for `Mock`. ##### Changed - **BREAKING** bump MSRV to 1.67. - **BREAKING** replace the `tls` feature with `native-tls` and `rustls-tls` that must be enabled explicitly now. - **BREAKING** http: `HttpClient` API is changed due to moving to hyper v1. - **BREAKING** inserter: move under the `inserter` feature. - **BREAKING** inserter: there is no default limits anymore. - **BREAKING** inserter: `Inserter::write` is synchronous now. - **BREAKING** inserter: rename `entries` to `rows`. - **BREAKING** drop the `wa-37420` feature. - **BREAKING** remove deprecated items. - **BREAKING** mock: `provide()`, `watch()` and `watch_only_events()` now accept iterators instead of streams. - inserter: improve performance of time measurements by using `quanta`. - inserter: improve performance if the time limit isn't used. - derive: move to syn v2. - mock: return a request if no handler is installed ([#​89], [#​91]). ##### Fixed - watch: support a new syntax. - uuid: possible unsoundness. - query: avoid panics during `Query::bind()` calls ([#​103]). [#​103]: https://togithub.com/ClickHouse/clickhouse-rs/issues/103 [#​102]: https://togithub.com/ClickHouse/clickhouse-rs/pull/102 [#​91]: https://togithub.com/ClickHouse/clickhouse-rs/pull/91 [#​90]: https://togithub.com/ClickHouse/clickhouse-rs/pull/90 [#​89]: https://togithub.com/ClickHouse/clickhouse-rs/issues/89 [#​83]: https://togithub.com/ClickHouse/clickhouse-rs/pull/83 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
0b6dc3e6c2
commit
505675c0b5
140
Cargo.lock
generated
140
Cargo.lock
generated
@ -816,7 +816,7 @@ dependencies = [
|
||||
"chrono",
|
||||
"futures-util",
|
||||
"http-types",
|
||||
"hyper",
|
||||
"hyper 0.14.30",
|
||||
"hyper-rustls",
|
||||
"serde",
|
||||
"serde_json",
|
||||
@ -1297,7 +1297,7 @@ dependencies = [
|
||||
"http-body 0.4.6",
|
||||
"http-body 1.0.1",
|
||||
"httparse",
|
||||
"hyper",
|
||||
"hyper 0.14.30",
|
||||
"hyper-rustls",
|
||||
"once_cell",
|
||||
"pin-project-lite",
|
||||
@ -1388,7 +1388,7 @@ dependencies = [
|
||||
"headers",
|
||||
"http 0.2.12",
|
||||
"http-body 0.4.6",
|
||||
"hyper",
|
||||
"hyper 0.14.30",
|
||||
"itoa",
|
||||
"matchit",
|
||||
"memchr",
|
||||
@ -2211,6 +2211,12 @@ dependencies = [
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cityhash-rs"
|
||||
version = "1.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "93a719913643003b84bd13022b4b7e703c09342cd03b679c4641c7d2e50dc34d"
|
||||
|
||||
[[package]]
|
||||
name = "clang-sys"
|
||||
version = "1.8.1"
|
||||
@ -2295,18 +2301,21 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "clickhouse"
|
||||
version = "0.11.6"
|
||||
version = "0.12.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a0875e527e299fc5f4faba42870bf199a39ab0bb2dbba1b8aef0a2151451130f"
|
||||
checksum = "d3093f817c4f81c8bd174ed8dd30eac785821a8a7eef27a7dcb7f8cd0d0f6548"
|
||||
dependencies = [
|
||||
"bstr",
|
||||
"bytes 1.7.1",
|
||||
"cityhash-rs",
|
||||
"clickhouse-derive",
|
||||
"clickhouse-rs-cityhash-sys",
|
||||
"futures 0.3.30",
|
||||
"hyper",
|
||||
"hyper-tls",
|
||||
"lz4",
|
||||
"futures-channel",
|
||||
"http-body-util",
|
||||
"hyper 1.4.1",
|
||||
"hyper-util",
|
||||
"lz4_flex",
|
||||
"replace_with",
|
||||
"sealed",
|
||||
"serde",
|
||||
"static_assertions",
|
||||
@ -2317,23 +2326,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 0.26.0",
|
||||
"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",
|
||||
"serde_derive_internals",
|
||||
"syn 2.0.72",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -2477,7 +2477,7 @@ dependencies = [
|
||||
"headless",
|
||||
"hex",
|
||||
"http_client",
|
||||
"hyper",
|
||||
"hyper 0.14.30",
|
||||
"indoc",
|
||||
"jsonwebtoken",
|
||||
"language",
|
||||
@ -5415,6 +5415,25 @@ dependencies = [
|
||||
"want",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hyper"
|
||||
version = "1.4.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05"
|
||||
dependencies = [
|
||||
"bytes 1.7.1",
|
||||
"futures-channel",
|
||||
"futures-util",
|
||||
"http 1.1.0",
|
||||
"http-body 1.0.1",
|
||||
"httparse",
|
||||
"itoa",
|
||||
"pin-project-lite",
|
||||
"smallvec",
|
||||
"tokio",
|
||||
"want",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hyper-rustls"
|
||||
version = "0.24.2"
|
||||
@ -5423,7 +5442,7 @@ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
|
||||
dependencies = [
|
||||
"futures-util",
|
||||
"http 0.2.12",
|
||||
"hyper",
|
||||
"hyper 0.14.30",
|
||||
"log",
|
||||
"rustls",
|
||||
"rustls-native-certs",
|
||||
@ -5438,12 +5457,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
|
||||
dependencies = [
|
||||
"bytes 1.7.1",
|
||||
"hyper",
|
||||
"hyper 0.14.30",
|
||||
"native-tls",
|
||||
"tokio",
|
||||
"tokio-native-tls",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hyper-util"
|
||||
version = "0.1.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9"
|
||||
dependencies = [
|
||||
"bytes 1.7.1",
|
||||
"futures-channel",
|
||||
"futures-util",
|
||||
"http 1.1.0",
|
||||
"http-body 1.0.1",
|
||||
"hyper 1.4.1",
|
||||
"pin-project-lite",
|
||||
"socket2 0.5.7",
|
||||
"tokio",
|
||||
"tower",
|
||||
"tower-service",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "iana-time-zone"
|
||||
version = "0.1.60"
|
||||
@ -6474,24 +6513,10 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lz4"
|
||||
version = "1.26.0"
|
||||
name = "lz4_flex"
|
||||
version = "0.11.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"lz4-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lz4-sys"
|
||||
version = "1.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"libc",
|
||||
]
|
||||
checksum = "75761162ae2b0e580d7e7c390558127e5f01b4194debd6221fd8c207fc80e3f5"
|
||||
|
||||
[[package]]
|
||||
name = "mac"
|
||||
@ -8987,6 +9012,12 @@ dependencies = [
|
||||
"workspace",
|
||||
]
|
||||
|
||||
[[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"
|
||||
@ -9001,7 +9032,7 @@ dependencies = [
|
||||
"h2",
|
||||
"http 0.2.12",
|
||||
"http-body 0.4.6",
|
||||
"hyper",
|
||||
"hyper 0.14.30",
|
||||
"hyper-tls",
|
||||
"ipnet",
|
||||
"js-sys",
|
||||
@ -9482,7 +9513,7 @@ checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"serde_derive_internals 0.29.1",
|
||||
"serde_derive_internals",
|
||||
"syn 2.0.72",
|
||||
]
|
||||
|
||||
@ -9616,14 +9647,14 @@ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
|
||||
|
||||
[[package]]
|
||||
name = "sealed"
|
||||
version = "0.4.0"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6b5e421024b5e5edfbaa8e60ecf90bda9dbffc602dbb230e6028763f85f0c68c"
|
||||
checksum = "f4a8caec23b7800fb97971a1c6ae365b6239aaeddfb934d6265f8505e795699d"
|
||||
dependencies = [
|
||||
"heck 0.3.3",
|
||||
"heck 0.4.1",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 1.0.109",
|
||||
"syn 2.0.72",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -9768,17 +9799,6 @@ dependencies = [
|
||||
"syn 2.0.72",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive_internals"
|
||||
version = "0.26.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 1.0.109",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive_internals"
|
||||
version = "0.29.1"
|
||||
@ -12551,7 +12571,7 @@ dependencies = [
|
||||
"futures-util",
|
||||
"headers",
|
||||
"http 0.2.12",
|
||||
"hyper",
|
||||
"hyper 0.14.30",
|
||||
"log",
|
||||
"mime",
|
||||
"mime_guess",
|
||||
|
@ -329,7 +329,7 @@ cargo_metadata = "0.18"
|
||||
cargo_toml = "0.20"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
clap = { version = "4.4", features = ["derive"] }
|
||||
clickhouse = "0.11.6"
|
||||
clickhouse = "0.12.0"
|
||||
cocoa = "0.25"
|
||||
core-foundation = "0.9.3"
|
||||
core-foundation-sys = "0.8.6"
|
||||
|
Loading…
Reference in New Issue
Block a user