This release adds a number of new APIs in tokio::net, tokio::signal, and
tokio::sync. In addition, it adds new unstable APIs to tokio::task (Ids
for uniquely identifying a task, and AbortHandle for remotely cancelling a
task), as well as a number of bugfixes.
Fixed
blocking: add missing #[track_caller] for spawn_blocking (#4616)
macros: fix select macro to process 64 branches (#4519)
net: fix try_io methods not calling Mio's try_io internally (#4582)
runtime: recover when OS fails to spawn a new thread (#4485)
Added
macros: support setting a custom crate name for #[tokio::main] and
#[tokio::test] (#4613)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps tokio from 1.17.0 to 1.18.0.
Release notes
Sourced from tokio's releases.
... (truncated)
Commits
4818343
tokio: prepare to release v1.18.0 (#4641)d456706
util: implementJoinMap
(#4640)1d3f123
task: add task IDs (#4630)b4d82c3
docs:Signal::recv
is cancel-safe (#4634)1472af5
docs: fix some typos (#4632)d397e77
net: addtry_read_buf
for named pipes (#4626)711d9d0
chore: upgrade nix to 0.24, limit features (#4631)911a0ef
rt: internally split Handle into two structs (#4629)d590a36
macros: custom crate name for #[tokio::main] and #[tokio::test] (#4613)2fe49a6
sync: add panic docs fortokio::sync::broadcast::channel
(#4622)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)