Skip to content

Commit

Permalink
fix(deps): update cargo dependencies (#2311)
Browse files Browse the repository at this point in the history
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

<details>
<summary>tokio-rs/bytes (bytes)</summary>

###
[`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
([#&#8203;742](https://redirect.github.com/tokio-rs/bytes/issues/742))

##### Documented

- Fix typo in Buf::chunk() comment
([#&#8203;744](https://redirect.github.com/tokio-rs/bytes/issues/744))

##### Internal changes

- Replace BufMut::put with BufMut::put_slice in Writer impl
([#&#8203;745](https://redirect.github.com/tokio-rs/bytes/issues/745))
- Rename hex_impl! to fmt_impl! and reuse it for fmt::Debug
([#&#8203;743](https://redirect.github.com/tokio-rs/bytes/issues/743))

</details>

<details>
<summary>kornelski/cargo-deb (cargo-deb)</summary>

###
[`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)

</details>

<details>
<summary>sunng87/pgwire (pgwire)</summary>

###
[`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
\[[#&#8203;220](https://redirect.github.com/sunng87/pgwire/issues/220)]

##### Fixed

- `Parse` message encoding
\[[#&#8203;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
\[[#&#8203;218](https://redirect.github.com/sunng87/pgwire/issues/218)]

</details>

<details>
<summary>tokio-rs/tracing (tracing)</summary>

###
[`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` ([#&#8203;2820])
- **core**: Allow `&[u8]` to be recorded as event/span field
([#&#8203;2954])

##### Changed

-   Bump MSRV to 1.63 ([#&#8203;2793])
-   **core**: Use const `thread_local`s when possible ([#&#8203;2838])

##### Fixed

-   Removed core imports in macros ([#&#8203;2762])
- **attributes**: Added missing RecordTypes for instrument
([#&#8203;2781])
- **attributes**: Change order of async and unsafe modifier
([#&#8203;2864])
-   Fix missing field prefixes ([#&#8203;2878])
-   **attributes**: Extract match scrutinee ([#&#8203;2880])
-   Fix non-simple macro usage without message ([#&#8203;2879])
- Fix event macros with constant field names in the first position
([#&#8203;2883])
-   Allow field path segments to be keywords ([#&#8203;2925])
-   **core**: Fix missed `register_callsite` error ([#&#8203;2938])
- **attributes**: Support const values for `target` and `name`
([#&#8203;2941])
- Prefix macro calls with ::core to avoid clashing with local macros
([#&#8203;3024])

[#&#8203;2762]: https://redirect.github.com/tokio-rs/tracing/pull/2762

[#&#8203;2781]: https://redirect.github.com/tokio-rs/tracing/pull/2781

[#&#8203;2793]: https://redirect.github.com/tokio-rs/tracing/pull/2793

[#&#8203;2820]: https://redirect.github.com/tokio-rs/tracing/pull/2820

[#&#8203;2838]: https://redirect.github.com/tokio-rs/tracing/pull/2838

[#&#8203;2864]: https://redirect.github.com/tokio-rs/tracing/pull/2864

[#&#8203;2878]: https://redirect.github.com/tokio-rs/tracing/pull/2878

[#&#8203;2879]: https://redirect.github.com/tokio-rs/tracing/pull/2879

[#&#8203;2880]: https://redirect.github.com/tokio-rs/tracing/pull/2880

[#&#8203;2883]: https://redirect.github.com/tokio-rs/tracing/pull/2883

[#&#8203;2925]: https://redirect.github.com/tokio-rs/tracing/pull/2925

[#&#8203;2938]: https://redirect.github.com/tokio-rs/tracing/pull/2938

[#&#8203;2941]: https://redirect.github.com/tokio-rs/tracing/pull/2941

[#&#8203;2954]: https://redirect.github.com/tokio-rs/tracing/pull/2954

[#&#8203;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

</details>

<details>
<summary>algesten/ureq (ureq)</summary>

###
[`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
([#&#8203;882](https://redirect.github.com/algesten/ureq/issues/882))
- Pin rustls dep on 0.23.19 to keep MSRV 1.67
([#&#8203;878](https://redirect.github.com/algesten/ureq/issues/878))
- Bump MSRV 1.63 -> 1.67 due to time crate
([#&#8203;878](https://redirect.github.com/algesten/ureq/issues/878))
- Re-export rustls
([#&#8203;813](https://redirect.github.com/algesten/ureq/issues/813))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Philip Dubé <[email protected]>
Co-authored-by: Kunal Gupta <[email protected]>
  • Loading branch information
3 people authored Dec 2, 2024
1 parent f768056 commit 1f07e7b
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 44 deletions.
105 changes: 64 additions & 41 deletions nexus/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nexus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
] }
2 changes: 1 addition & 1 deletion nexus/analyzer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self::Output> {
Expand Down
2 changes: 1 addition & 1 deletion nexus/catalog/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1f07e7b

Please sign in to comment.