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.6.14
->0.8.0
Release Notes
tokio-rs/mio (mio)
v0.8.11
Compare Source
https://github.com/tokio-rs/mio/pull/17601760, backport https://github.com/tokio-rs/mio/pull/1761ull/1761).
v0.8.10
Compare Source
Added
https://github.com/tokio-rs/mio/pull/17241724).
v0.8.9
Compare Source
Added
https://github.com/tokio-rs/mio/pull/16921692).
https://github.com/tokio-rs/mio/pull/17041704).
https://github.com/tokio-rs/mio/pull/17211721).
{UnixListener,UnixStream}:bind_addr
https://github.com/tokio-rs/mio/pull/16301630).
mio_unsupported_force_poll_poll
andmio_unsupported_force_waker_pipe
unsupported configuration flags to force a specific poll or waker
implementatihttps://github.com/tokio-rs/mio/pull/1684ulhttps://github.com/tokio-rs/mio/pull/1685iohttps://github.com/tokio-rs/mio/pull/1692rs/mio/pull/1692).
Fixed
pipe(2)
based waker (swapped file descriptors)https://github.com/tokio-rs/mio/pull/17221722).
Registry
s.https://github.com/tokio-rs/mio/pull/17061706).
v0.8.8
Compare Source
Fixed
v0.8.7
Compare Source
Added
watchOS, but we don't have a CI setup yhttps://github.com/tokio-rs/mio/pull/1658ull/1658).
Changed
log
dependency optional behind thelog
feature flag (enabled bydefault). Users that disabled Mio's default features will now not see any
logging from Mio, enabling the
log
feature will fix that. This was done inresponse to the
log
crate increasing it's MSRV to v1.60, seehttps://github.com/rust-lang/log/pull/552/5https://github.com/tokio-rs/mio/pull/1673ull/1673).
https://github.com/tokio-rs/mio/pull/16631663).
Fixed
Poll::poll
when usingDuration::MAX
as timeouthttps://github.com/tokio-rs/mio/pull/16571657).
v0.8.6
Compare Source
Added
Interest::PRIORITY
on Linux and Android, to triggerEvent::is_priority
https://github.com/tokio-rs/mio/pull/16471647).
Changed
https://github.com/tokio-rs/mio/pull/16441644).
https://github.com/tokio-rs/mio/pull/16481648).
Fixed
creatihttps://github.com/tokio-rs/mio/pull/16361636).
Poll::poll
https://github.com/tokio-rs/mio/pull/16421642).
v0.8.5
Compare Source
Changed
windows-sys
to 0.42.0https://github.com/tokio-rs/mio/pull/16241624).
other claims it doesn't, but nobody stepped up to fix the problhttps://github.com/tokio-rs/mio/pull/1596ull/1596).
https://github.com/tokio-rs/mio/pull/159815https://github.com/tokio-rs/mio/pull/16011601).
https://github.com/tokio-rs/mio/pull/16031603).
Fixed
https://github.com/tokio-rs/mio/pull/161516https://github.com/tokio-rs/mio/pull/16161616)
epoll\_create1
on Android API level < 21.https://github.com/tokio-rs/mio/pull/15901590).
v0.8.4
Compare Source
Added
Registery::try_clone
onwasm32-wasi
https://github.com/tokio-rs/mio/pull/15761576).
https://github.com/tokio-rs/mio/pull/15851585).
v0.8.3
Compare Source
Changed
winapi
dependency withwindows-sys
.https://github.com/tokio-rs/mio/pull/15561556).
https://github.com/tokio-rs/mio/pull/15721572).
Fixed
https://github.com/tokio-rs/mio/pull/15551555).
https://github.com/tokio-rs/mio/pull/15641564).
TcpStream::connect
https://github.com/tokio-rs/mio/pull/15651565).
v0.8.2
Compare Source
Added
v0.8.1
Compare Source
https://github.com/tokio-rs/mio/pull/17601760, backport https://github.com/tokio-rs/mio/pull/1761ull/1761).
v0.8.0
Compare Source
Removed
TcpSocket
type(tokio-rs/mio@02e9be4).
The socket2 crate provides all the functionality and more.
https://github.com/tokio-rs/mio/pull/15281528).
Changes
(tokio-rs/mio@5c577ef).
Added
UdpSocket::peer_addr
(tokio-rs/mio@5fc104d).
v0.7.14
Compare Source
Fixes
Added
sys::unix::SocketAddr::as_abstract_namespace()
(#1520).v0.7.13
Compare Source
Fixes
Registry::try_clone
invalid usage ofF_DUPFD_CLOEXEC
(#1497,tokio-rs/mio@2883f5c).
v0.7.12
Compare Source
Fixes
FD_CLOEXEC
when callingRegistry::try_clone
(tokio-rs/mio@d1617b5 for epoll and
(tokio-rs/mio@b367a05 for kqueue).
v0.7.11
Compare Source
Fixes
(tokio-rs/mio@a7e61db).
v0.7.10
Compare Source
Fixes
(tokio-rs/mio@25e8f91).
v0.7.9
Compare Source
Fixes
NamedPipe::write
(tokio-rs/mio@aec872b).
accept(2)
on x86 Android instead ofaccept4(2)
(tokio-rs/mio@6f86b92,
tokio-rs/mio@8d54148).
(tokio-rs/mio@139f7c4).
v0.7.8
Compare Source
Fixes
TcpStream::set_linger
on macOS(tokio-rs/mio@175773c).
(tokio-rs/mio@b51af46).
v0.7.7
Compare Source
Added
UdpSocket::only_v6
(tokio-rs/mio@0101e05).
Clone
implementation forEvent
(tokio-rs/mio@26540eb).
AsRawFd
implementation forRegistry
(tokio-rs/mio@f70daa7).
Read
andWrite
implementation for&unix::pipe::Sender
andReceiver
,that is on the reference to them, an implementation existed on the types
themselves already
(tokio-rs/mio@1be481d).
Fixes
SocketAddr::address
(tokio-rs/mio@6d3fa69).
(tokio-rs/mio@49d8fd3).
(tokio-rs/mio@a6e025e).
Waker::wake
works on illumos systems with poorpipe(2)
andepoll(2)
interaction usingEPOLLET
(tokio-rs/mio@943d424).
unix::pipe
on illumos(tokio-rs/mio@0db49f6).
v0.7.6
Compare Source
Added
net
feature, replacestcp
,udp
anduds
features(tokio-rs/mio@a301ba5).
os-ext
feature, replacesos-util
andpipe
features(tokio-rs/mio@f5017fa).
TcpSocket
(tokio-rs/mio@290c43a).
TcpSocket::set_{send, recv}_buffer_size
(tokio-rs/mio@40c4af7).
TcpSocket::get_linger
(tokio-rs/mio@13e82ce).
IntoRawFd
forTcpSocket
(tokio-rs/mio@50548ed).
Deprecated
tcp
,udp
anduds
features, replaced by a newnet
feature.(tokio-rs/mio@a301ba5).
extra-docs
feature, now enabled by default.(tokio-rs/mio@25731e8).
os-util
andpipe
features, replaced by a newos-ext
feature.(tokio-rs/mio@f5017fa).
Fixes
std::net::SocketAddr
. Previously Miowould assume that
SocketAddrV{4,6}
had the same layout aslibc::sockaddr_in(6)
, however this is not guaranteed by the standardlibrary.
(tokio-rs/mio@152e075).
above.
v0.7.5
Compare Source
Added
TcpSocket::get_localaddr()
retrieves local address(tokio-rs/mio@b41a022).
TcpSocket::set_reuseport()
&TcpSocket::get_reuseport()
configures and readsSO_REUSEPORT
(tokio-rs/mio@183bbe4).
unix:pipe()
a wrapper around pipe(2) sys call(tokio-rs/mio@2b7c096).
(tokio-rs/mio@f4874f2).
Interest:remove()
(tokio-rs/mio@b8639c3).
v0.7.4
Compare Source
Fixes
(tokio-rs/mio@50c299a).
Added
TcpSocket::set_linger()
configures SO_LINGER(tokio-rs/mio@3b40965).
v0.7.3
Compare Source
Added
TcpSocket
for configuring a TCP socket before connecting or listening(tokio-rs/mio@5b09e60).
v0.7.2
Compare Source
Added
(tokio-rs/mio@52e8c22).
v0.7.1
Compare Source
Fixes
Added
sys::unix::SocketAddr::as_abstract_namespace()
(#1520).v0.7.0
Compare Source
Version 0.7 of Mio contains various major changes compared to version 0.6.
Overall a large number of API changes have been made to reduce the complexity of
the implementation and remove overhead where possible.
Please refer to the blog post about
0.7-alpha.1 for additional
information.
Added
Interest
structure that replacesReady
in registering event sources.Registry
structure that separates the registering and polling functionality.Waker
structure that allows another thread to wake a thread pollingPoll
.UnixDatagram
,UnixListener
andUnixStream
.Removed
UnixReady
was merged intoReady
.Registration
andSetReadiness
types.PollOpt
was removed and all registrations use edge-triggers. See the upgradeguide on how to process event using edge-triggers.
net
module) now support only the same API asfound in the standard library, various methods on the types were removed.
TcpStream
now supports vectored I/O.Poll::poll_interruptible
was removed. InsteadPoll::poll
will now returnan error if one occurs.
From<usize>
is removed fromToken
, the internal field is still public, soToken(my_token)
can still be used.Changed
Poll
and registered event sources. It is recommended to reread the documentation of
at least
event::Source
andPoll
.Event
was changed to be a wrapper around the OS event. This means it can besignificantly larger on some OSs.
Ready
was removed and replaced with variousis_*
methods onEvent
. Forexample instead checking for readable readiness using
Event::ready().is_readable()
, you would callEvent::is_readable()
.Ready::is_hup
was removed in favour ofEvent::is_read_closed
andEvent::is_write_closed
.Events
was changed to return&Event
.Evented
was renamed toevent::Source
and now takes mutable reference tothe source.
implementation, that uses the OS, enable the
os-oll
feature. To enable thenetwork types use
tcp
,udp
and/oruds
. For more documentation on thefeatures see the
feature
module in the API documentation (requires theextra-docs
feature).creating and using sockets, e.g. making use of
accept4(2)
.fmt::Debug
implementation ofEvents
is now actually useful as itprints all
Event
s.v0.6.23
Compare Source
Changed
2018)
(tokio-rs/mio@4879e0d).
Fixed
~30 minutes effectively infinite
(tokio-rs/mio@e7cba59).
(tokio-rs/mio@13f02ac).
v0.6.22
Compare Source
Added
v0.6.21
Compare Source
Fixed
=
dependency oncfg-if
.v0.6.20
Compare Source
Fixed
v0.6.19
Compare Source
Fixed
v0.6.18
Compare Source
Fixed
v0.6.17
Compare Source
Fixed
RDHUP
asHUP
(#939)Added
v0.6.16
Compare Source
v0.6.15
Compare Source
Evented
for containers (#840).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.