From 1f07e7b9a09638107fdce9f20918e10c8c23fe66 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 2 Dec 2024 23:30:27 +0000
Subject: [PATCH] fix(deps): update cargo dependencies (#2311)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [bytes](https://redirect.github.com/tokio-rs/bytes) | dependencies |
minor | `1.8.0` -> `1.9.0` |
| [cargo-deb](https://lib.rs/crates/cargo-deb)
([source](https://redirect.github.com/kornelski/cargo-deb)) |
dependencies | patch | `2.9.0` -> `2.9.1` |
| [pgwire](https://redirect.github.com/sunng87/pgwire) |
workspace.dependencies | minor | `0.26` -> `0.27` |
| [rustls](https://redirect.github.com/rustls/rustls) | dependencies |
patch | `0.23.18` -> `0.23.19` |
| [tracing](https://tokio.rs)
([source](https://redirect.github.com/tokio-rs/tracing)) |
workspace.dependencies | patch | `0.1.40` -> `0.1.41` |
| [tracing-subscriber](https://tokio.rs)
([source](https://redirect.github.com/tokio-rs/tracing)) | dependencies
| patch | `0.3.18` -> `0.3.19` |
| [ureq](https://redirect.github.com/algesten/ureq) | dependencies |
minor | `2.10.1` -> `2.11.0` |
---
### Release Notes
tokio-rs/bytes (bytes)
###
[`v1.9.0`](https://redirect.github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#190-November-27-2024)
[Compare
Source](https://redirect.github.com/tokio-rs/bytes/compare/v1.8.0...v1.9.0)
##### Added
- Add `Bytes::from_owner` to enable externally-allocated memory
([#742](https://redirect.github.com/tokio-rs/bytes/issues/742))
##### Documented
- Fix typo in Buf::chunk() comment
([#744](https://redirect.github.com/tokio-rs/bytes/issues/744))
##### Internal changes
- Replace BufMut::put with BufMut::put_slice in Writer impl
([#745](https://redirect.github.com/tokio-rs/bytes/issues/745))
- Rename hex_impl! to fmt_impl! and reuse it for fmt::Debug
([#743](https://redirect.github.com/tokio-rs/bytes/issues/743))
kornelski/cargo-deb (cargo-deb)
###
[`v2.9.1`](https://redirect.github.com/kornelski/cargo-deb/compare/v2.9.0...v2.9.1)
[Compare
Source](https://redirect.github.com/kornelski/cargo-deb/compare/v2.9.0...v2.9.1)
sunng87/pgwire (pgwire)
###
[`v0.27.0`](https://redirect.github.com/sunng87/pgwire/blob/HEAD/CHANGELOG.md#0270---2024-11-30)
[Compare
Source](https://redirect.github.com/sunng87/pgwire/compare/v0.26.0...v0.27.0)
##### Added
- `on_flush` handler for extended query handler
\[[#220](https://redirect.github.com/sunng87/pgwire/issues/220)]
##### Fixed
- `Parse` message encoding
\[[#219](https://redirect.github.com/sunng87/pgwire/issues/219)]
##### Changed
- MSRV to 1.75
- Made TLS an optional feature. `server-api` now provides no TLS
functionality
\[[#218](https://redirect.github.com/sunng87/pgwire/issues/218)]
tokio-rs/tracing (tracing)
###
[`v0.1.41`](https://redirect.github.com/tokio-rs/tracing/releases/tag/tracing-0.1.41):
tracing 0.1.41
[Compare
Source](https://redirect.github.com/tokio-rs/tracing/compare/tracing-0.1.40...tracing-0.1.41)
\[ [crates.io][crate-0.1.41] ] | \[ [docs.rs][docs-0.1.41] ]
This release updates the `tracing-core` dependency to
[v0.1.33][core-0.1.33] and
the `tracing-attributes` dependency to [v0.1.28][attrs-0.1.28].
##### Added
- **core**: Add index API for `Field` ([#2820])
- **core**: Allow `&[u8]` to be recorded as event/span field
([#2954])
##### Changed
- Bump MSRV to 1.63 ([#2793])
- **core**: Use const `thread_local`s when possible ([#2838])
##### Fixed
- Removed core imports in macros ([#2762])
- **attributes**: Added missing RecordTypes for instrument
([#2781])
- **attributes**: Change order of async and unsafe modifier
([#2864])
- Fix missing field prefixes ([#2878])
- **attributes**: Extract match scrutinee ([#2880])
- Fix non-simple macro usage without message ([#2879])
- Fix event macros with constant field names in the first position
([#2883])
- Allow field path segments to be keywords ([#2925])
- **core**: Fix missed `register_callsite` error ([#2938])
- **attributes**: Support const values for `target` and `name`
([#2941])
- Prefix macro calls with ::core to avoid clashing with local macros
([#3024])
[#2762]: https://redirect.github.com/tokio-rs/tracing/pull/2762
[#2781]: https://redirect.github.com/tokio-rs/tracing/pull/2781
[#2793]: https://redirect.github.com/tokio-rs/tracing/pull/2793
[#2820]: https://redirect.github.com/tokio-rs/tracing/pull/2820
[#2838]: https://redirect.github.com/tokio-rs/tracing/pull/2838
[#2864]: https://redirect.github.com/tokio-rs/tracing/pull/2864
[#2878]: https://redirect.github.com/tokio-rs/tracing/pull/2878
[#2879]: https://redirect.github.com/tokio-rs/tracing/pull/2879
[#2880]: https://redirect.github.com/tokio-rs/tracing/pull/2880
[#2883]: https://redirect.github.com/tokio-rs/tracing/pull/2883
[#2925]: https://redirect.github.com/tokio-rs/tracing/pull/2925
[#2938]: https://redirect.github.com/tokio-rs/tracing/pull/2938
[#2941]: https://redirect.github.com/tokio-rs/tracing/pull/2941
[#2954]: https://redirect.github.com/tokio-rs/tracing/pull/2954
[#3024]: https://redirect.github.com/tokio-rs/tracing/pull/3024
[attrs-0.1.28]:
https://redirect.github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.28
[core-0.1.33]:
https://redirect.github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.33
[docs-0.1.41]: https://docs.rs/tracing/0.1.41/tracing/
[crate-0.1.41]: https://crates.io/crates/tracing/0.1.41
algesten/ureq (ureq)
###
[`v2.11.0`](https://redirect.github.com/algesten/ureq/blob/HEAD/CHANGELOG.md#2110)
[Compare
Source](https://redirect.github.com/algesten/ureq/compare/2.10.1...2.11.0)
- Fixes for changes to cargo-deny
([#882](https://redirect.github.com/algesten/ureq/issues/882))
- Pin rustls dep on 0.23.19 to keep MSRV 1.67
([#878](https://redirect.github.com/algesten/ureq/issues/878))
- Bump MSRV 1.63 -> 1.67 due to time crate
([#878](https://redirect.github.com/algesten/ureq/issues/878))
- Re-export rustls
([#813](https://redirect.github.com/algesten/ureq/issues/813))
---
### Configuration
📅 **Schedule**: Branch creation - "after 5pm on monday" in timezone
Etc/UTC, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/PeerDB-io/peerdb).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Philip Dubé
Co-authored-by: Kunal Gupta <39487888+iamKunalGupta@users.noreply.github.com>
---
nexus/Cargo.lock | 105 +++++++++++++++++++++++---------------
nexus/Cargo.toml | 2 +-
nexus/analyzer/src/lib.rs | 2 +-
nexus/catalog/src/lib.rs | 2 +-
4 files changed, 67 insertions(+), 44 deletions(-)
diff --git a/nexus/Cargo.lock b/nexus/Cargo.lock
index 15a8c32743..9cd70344bb 100644
--- a/nexus/Cargo.lock
+++ b/nexus/Cargo.lock
@@ -785,9 +785,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
-version = "1.8.0"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da"
+checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
[[package]]
name = "bytes-utils"
@@ -801,9 +801,9 @@ dependencies = [
[[package]]
name = "cargo-deb"
-version = "2.9.0"
+version = "2.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9103cb60c68ef7ce14a3d17c6d697e8b180356a447685784f7951074bce0b844"
+checksum = "db0e12dd59626cd2543903f1b794135b1f6e0df1003dd3be1071c06961bf6072"
dependencies = [
"ar",
"cargo_toml",
@@ -1500,7 +1500,7 @@ dependencies = [
"reqwest",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.68",
"time",
"tokio",
"tokio-stream",
@@ -1790,7 +1790,7 @@ dependencies = [
"http 1.1.0",
"hyper 1.5.0",
"hyper-util",
- "rustls 0.23.18",
+ "rustls 0.23.19",
"rustls-native-certs 0.8.0",
"rustls-pki-types",
"tokio",
@@ -2361,7 +2361,7 @@ dependencies = [
"serde",
"serde_json",
"socket2",
- "thiserror",
+ "thiserror 1.0.68",
"tokio",
"tokio-rustls 0.25.0",
"tokio-util",
@@ -2401,7 +2401,7 @@ dependencies = [
"sha2",
"smallvec",
"subprocess",
- "thiserror",
+ "thiserror 1.0.68",
"uuid",
"zstd",
]
@@ -2893,9 +2893,9 @@ dependencies = [
[[package]]
name = "pgwire"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99e0f273b9ffa92a06b0a900c012df432de901c1854b2411cd7b27e2db165cc8"
+checksum = "f8e3b217978f9e224cfd5e2b272064067e793a39744030e49657c699752473c8"
dependencies = [
"async-trait",
"base64 0.22.1",
@@ -2911,7 +2911,7 @@ dependencies = [
"ring",
"rust_decimal",
"stringprep",
- "thiserror",
+ "thiserror 2.0.3",
"tokio",
"tokio-rustls 0.26.0",
"tokio-util",
@@ -3044,7 +3044,7 @@ dependencies = [
"anyhow",
"futures-util",
"pt",
- "rustls 0.23.18",
+ "rustls 0.23.19",
"ssh2",
"tokio",
"tokio-postgres",
@@ -3159,7 +3159,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c1318b19085f08681016926435853bbf7858f9c082d0999b80550ff5d9abe15"
dependencies = [
"bytes",
- "heck 0.4.1",
+ "heck 0.5.0",
"itertools",
"log",
"multimap",
@@ -3270,9 +3270,9 @@ dependencies = [
"quinn-proto",
"quinn-udp",
"rustc-hash 2.0.0",
- "rustls 0.23.18",
+ "rustls 0.23.19",
"socket2",
- "thiserror",
+ "thiserror 1.0.68",
"tokio",
"tracing",
]
@@ -3287,9 +3287,9 @@ dependencies = [
"rand",
"ring",
"rustc-hash 2.0.0",
- "rustls 0.23.18",
+ "rustls 0.23.19",
"slab",
- "thiserror",
+ "thiserror 1.0.68",
"tinyvec",
"tracing",
]
@@ -3412,7 +3412,7 @@ dependencies = [
"log",
"regex",
"siphasher 1.0.1",
- "thiserror",
+ "thiserror 1.0.68",
"time",
"tokio",
"tokio-postgres",
@@ -3518,7 +3518,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"quinn",
- "rustls 0.23.18",
+ "rustls 0.23.19",
"rustls-pemfile 2.2.0",
"rustls-pki-types",
"serde",
@@ -3686,9 +3686,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.18"
+version = "0.23.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c9cc1d47e243d655ace55ed38201c19ae02c148ae56412ab8750e8f0166ab7f"
+checksum = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1"
dependencies = [
"log",
"once_cell",
@@ -4029,7 +4029,7 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085"
dependencies = [
"num-bigint",
"num-traits",
- "thiserror",
+ "thiserror 1.0.68",
"time",
]
@@ -4245,7 +4245,16 @@ version = "1.0.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892"
dependencies = [
- "thiserror-impl",
+ "thiserror-impl 1.0.68",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa"
+dependencies = [
+ "thiserror-impl 2.0.3",
]
[[package]]
@@ -4259,6 +4268,17 @@ dependencies = [
"syn 2.0.87",
]
+[[package]]
+name = "thiserror-impl"
+version = "2.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "thread_local"
version = "1.1.8"
@@ -4411,7 +4431,7 @@ checksum = "27d684bad428a0f2481f42241f821db42c54e2dc81d8c00db8536c506b0a0144"
dependencies = [
"const-oid",
"ring",
- "rustls 0.23.18",
+ "rustls 0.23.19",
"tokio",
"tokio-postgres",
"tokio-rustls 0.26.0",
@@ -4445,7 +4465,7 @@ version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
dependencies = [
- "rustls 0.23.18",
+ "rustls 0.23.19",
"rustls-pki-types",
"tokio",
]
@@ -4630,9 +4650,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
[[package]]
name = "tracing"
-version = "0.1.40"
+version = "0.1.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
+checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
dependencies = [
"pin-project-lite",
"tracing-attributes",
@@ -4646,16 +4666,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf"
dependencies = [
"crossbeam-channel",
- "thiserror",
+ "thiserror 1.0.68",
"time",
"tracing-subscriber",
]
[[package]]
name = "tracing-attributes"
-version = "0.1.27"
+version = "0.1.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
+checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
dependencies = [
"proc-macro2",
"quote",
@@ -4664,9 +4684,9 @@ dependencies = [
[[package]]
name = "tracing-core"
-version = "0.1.32"
+version = "0.1.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
+checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
dependencies = [
"once_cell",
"valuable",
@@ -4685,9 +4705,9 @@ dependencies = [
[[package]]
name = "tracing-subscriber"
-version = "0.3.18"
+version = "0.3.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
+checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008"
dependencies = [
"matchers",
"nu-ansi-term",
@@ -4781,21 +4801,24 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "ureq"
-version = "2.10.1"
+version = "2.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b74fc6b57825be3373f7054754755f03ac3a8f5d70015ccad699ba2029956f4a"
+checksum = "b30e6f97efe1fa43535ee241ee76967d3ff6ff3953ebb430d8d55c5393029e7b"
dependencies = [
"base64 0.22.1",
"encoding_rs",
"flate2",
+ "litemap",
"log",
"once_cell",
- "rustls 0.23.18",
+ "rustls 0.23.19",
"rustls-pki-types",
"serde",
"serde_json",
"url",
"webpki-roots",
+ "yoke",
+ "zerofrom",
]
[[package]]
@@ -5285,9 +5308,9 @@ dependencies = [
[[package]]
name = "x509-certificate"
-version = "0.23.1"
+version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66534846dec7a11d7c50a74b7cdb208b9a581cad890b7866430d438455847c85"
+checksum = "e57b9f8bcae7c1f36479821ae826d75050c60ce55146fd86d3553ed2573e2762"
dependencies = [
"bcder",
"bytes",
@@ -5298,7 +5321,7 @@ dependencies = [
"ring",
"signature",
"spki",
- "thiserror",
+ "thiserror 1.0.68",
"zeroize",
]
@@ -5358,7 +5381,7 @@ dependencies = [
"hyper-util",
"log",
"percent-encoding",
- "rustls 0.23.18",
+ "rustls 0.23.19",
"rustls-pemfile 2.2.0",
"seahash",
"serde",
diff --git a/nexus/Cargo.toml b/nexus/Cargo.toml
index 6efea5f4b2..5f5d1b3e6a 100644
--- a/nexus/Cargo.toml
+++ b/nexus/Cargo.toml
@@ -32,7 +32,7 @@ ssh2 = "0.9"
sqlparser = { git = "https://github.com/peerdb-io/sqlparser-rs.git", branch = "main" }
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
-pgwire = { version = "0.26", default-features = false, features = [
+pgwire = { version = "0.27", default-features = false, features = [
"scram",
"server-api-ring",
] }
diff --git a/nexus/analyzer/src/lib.rs b/nexus/analyzer/src/lib.rs
index 830da627de..cc9309c6b3 100644
--- a/nexus/analyzer/src/lib.rs
+++ b/nexus/analyzer/src/lib.rs
@@ -48,7 +48,7 @@ pub enum QueryAssociation {
Catalog,
}
-impl<'a> StatementAnalyzer for PeerExistanceAnalyzer<'a> {
+impl StatementAnalyzer for PeerExistanceAnalyzer<'_> {
type Output = QueryAssociation;
fn analyze(&self, statement: &Statement) -> anyhow::Result {
diff --git a/nexus/catalog/src/lib.rs b/nexus/catalog/src/lib.rs
index d5d023e571..4cb2512c40 100644
--- a/nexus/catalog/src/lib.rs
+++ b/nexus/catalog/src/lib.rs
@@ -51,7 +51,7 @@ pub struct CatalogConfig<'a> {
pub database: &'a str,
}
-impl<'a> CatalogConfig<'a> {
+impl CatalogConfig<'_> {
// convert catalog config to PostgresConfig
pub fn to_postgres_config(&self) -> pt::peerdb_peers::PostgresConfig {
PostgresConfig {