Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update socket2 requirement from 0.4 to 0.5 #11

Open
wants to merge 6 commits into
base: neon
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 27, 2023

Updates the requirements on socket2 to permit the latest version.

Changelog

Sourced from socket2's changelog.

0.5.1

Added

Fixed

0.5.0

Changed

Added

  • Links to OS documentation to a lot of methods (rust-lang/socket2#319).
  • I/O-safety traits (rust-lang/socket2#325):
    • AsFd for Socket (Unix only).
    • From<OwnedFd> for Socket (Unix only).
    • From<Socket> for OwnedFd (Unix only).
    • AsSocket for Socket (Windows only).
    • From<OwnedSocket> for Socket (Windows only).
    • From<Socket> for OwnedSocket (Windows only).
  • Unix socket support on Windows (rust-lang/socket2#249).

... (truncated)

Commits
  • 621aba3 Release v0.5.1
  • aebcbc4 Split checking of docs in CI
  • b632eb4 Allow some broken links
  • bf8f5ba Add Type::cloexec for Redox
  • 040f826 Add Type::cloexec for Solaris
  • f111f9d Use dtolnay/rust-toolchain to install toolchain in CI
  • 2dc7235 Fix various doc attributes
  • 4b5728c Check docs in Check job
  • a04b140 Document all targets on docs.rs
  • 0ffbf0f Fix various doc links
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

funbringer and others added 6 commits December 16, 2022 20:10
We'd like to check our patches.
This patch was implemented by Petros Angelatos and Jeff Davis
to support physical and logical replication in rust-postgres
(see sfackler#752).

The original PR never made it to the upstream, but we
(Neon) still use it in our own fork of rust-postgres.

The following commits were squashed together:

* Image configuration updates.

* Make simple_query::encode() pub(crate).

* decoding logic for replication protocol

* Connection string config for replication.

* add copy_both_simple method

* helper ReplicationStream type for replication protocol

This can be optionally used with a CopyBoth stream to decode the
replication protocol

* decoding logic for logical replication protocol

* helper LogicalReplicationStream type to decode logical replication

* add postgres replication integration test

* add simple query versions of copy operations

* replication: use SystemTime for timestamps at API boundary

Co-authored-by: Petros Angelatos <petrosagg@gmail.com>
Co-authored-by: Jeff Davis <jeff@j-davis.com>
Co-authored-by: Dmitry Ivanov <ivadmi5@gmail.com>
According to https://datatracker.ietf.org/doc/html/rfc5802#section-3,
SCRAM protocol explicitly allows client to use a `ClientKey` & `ServerKey`
pair instead of a password to perform authentication. This is also useful
for proxy implementations which would like to leverage `rust-postgres`.

This patch adds the ability to do that.
We need this to enable parameter forwarding in Neon Proxy.
This is less than ideal, but we'll probably revert the patch
once a proper fix has been implemented.
Updates the requirements on [socket2](https://github.com/rust-lang/socket2) to permit the latest version.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](rust-lang/socket2@v0.4.0...v0.5.1)

---
updated-dependencies:
- dependency-name: socket2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants