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.
1.21.0 (September 2, 2022)
This release is the first release of Tokio to intentionally support WASM. The
sync,macros,io-util,rt,time
features are stabilized on WASM. Additionally the wasm32-wasi target is given unstable support for thenet
feature.Added
device
andbind_device
methods to TCP/UDP sockets (#4882)tos
andset_tos
methods to TCP and UDP sockets (#4877)ServerOptions
(#4845)mpsc::Sender::max_capacity
method (#4904)mpsc::Sender
(#4595)LocalSet::enter
(#4765)JoinSet
andAbortHandle
(#4920)track_caller
to public APIs (#4805, #4848, #4852)wasm32-wasi
target (#4716)Fixed
linked_list::Link
impls (#4841)#[must_use]
to lock guards (#4886)recv
on closed and reopened broadcast channel (#4867)Changed
File::start_seek
(#4897)poll_read
(#4840)SignalKind
methods const (#4956)Internal changes
basic_scheduler::Config
(#4935)runtime
module (#4942)Documented
AsyncSeekExt::rewind
docs (#4893)try_read()
for zero-length buffers (#4937)Builder::worker_threads
(#4849)watch::Sender::send
improved (#4959)JoinHandle
(#4901)spawn_blocking
(#4811)Interval::tick
happens immediately (#4951)Unstable
Builder::spawn_on
(#4953)task::Builder::spawn*
methods fallible (#4823)