chore(deps): update rust crate socket2 to 0.6 #152
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
femboy/yip!152
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/socket2-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.5→0.6Release Notes
rust-lang/socket2 (socket2)
v0.6.5(#660).
(#663).
Socket::(set_)tos_v4on illumos(#662).
v0.6.4MsgHdr(Mut)(#650).
(#653).
TCP_KEEPIDLEinstead ofTCP_KEEPALIVE(#654).
Socket::only_v6sometimes booleans are 1byte other times it's 4 bytes
(#655).
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: (UTC)
🚦 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 Mend Renovate.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.