Update Rust crate socket2 to 0.6 #522
Open
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.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 - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.
🚦 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 has been generated by Renovate Bot.