fix(deps): update rust crate socket2 to 0.6#62
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #62 +/- ##
=======================================
Coverage 48.77% 48.77%
=======================================
Files 16 16
Lines 2005 2005
=======================================
Hits 978 978
Misses 1027 1027 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.5→0.6Release Notes
rust-lang/socket2 (socket2)
v0.6.3Compare Source
Socket::(set_)ip_transparent_v6.Socket::set_tcp_ack_frequency.POTENTIALLY BREAKING The MSRV of windows-sys v0.61 is 1.71. To use socket2
with its MSRV of 1.70, please downgrade windows-sys to v0.60.x. This can be done
using:
cargo update windows-sys --precise 0.60.2v0.6.2Compare Source
MsgHdrandMsgHdrMutare marked as transparent meaning both have the samelayout as
msghdron Unix andWSAMSGon Windows(#635).
SO_NOSIGPIPEwhen accepting sockets, this is inherited from theparent socket (#632).
Socket::tcp_notsent_lowatby using the correct argument type(#622).
v0.6.1Compare Source
Added
(#604).
TCP_NOTSENT_LOWATon Linux viaSocket::(set_)tcp_notsent_lowat(#611).
SO_BUSY_POLLon Linux viaSocket::set_busy_poll(#607).
SockFilter::newis now a const function(#609).
Changed
(#605).
v0.6.0Breaking changes
All IPv4 methods now have a
_v4suffix, IPv6 uses_v6. TCP methods have atcp_prefix (looked better than a suffix).Furthermore we removed all types from external libraries (i.e. libc or
windows-sys) from the public API, allowing us to update those without breaking
the API.
Socket::freebind_ipv6tofreebind_v6(#592).
Socket::freebindtofreebind_v4(#592).
Socket::original_dsttooriginal_dst_v4(#592).
Socket::original_dst_ipv6tooriginal_dst_v6(#592).
(#597).
c_intfromstd::ffiinstead of from libc(#599,
#595).
SockAddr's methods now accept/returnSockAddrStorageinstead ofsockaddr_storage/SOCKADDR_STORAGE(#576):
newtry_initas_ptras_storageSockFilter, wrapper aroundlibc::sock_filter, argument toSocket::attach_filter(#581).
Socket(#592):
keepalive_time->tcp_keepalive_timekeepalive_interval->tcp_keepalive_intervalkeepalive_retries->tcp_keepalive_retriesnodelay->tcp_nodelayset_nodelay->set_tcp_nodelaytcp_mss->msstcp_set_mss->set_msstcp_cork->corktcp_set_cork->set_corktcp_quickack->quickacktcp_set_quickack->set_quickackthin_linear_timeouts->tcp_thin_linear_timeouts.Non-breaking changes
Socket::(set_)priority(#588).
(#557).
SockAddrStorage, wrapper aroundsockaddr_storage/SOCKADDR_STORAGEfor usage with
SockAddr(instead of the types from libc/windows-sys)(#576).
Socket::bind_device_by_index_{v4,v6}on Android and Linux(#572).
CopyandCloneforInterfaceIndexOrAddress(#571).
(#579).
OwnedFd/OwnedSocketinternally forSocket(#600).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.