falion
falion copied to clipboard
Bump tokio from 1.36.0 to 1.37.0
Bumps tokio from 1.36.0 to 1.37.0.
Release notes
Sourced from tokio's releases.
Tokio v1.37.0
1.37.0 (March 28th, 2024)
Added
- fs: add
set_max_buf_sizetotokio::fs::File(#6411)- io: add
try_newandtry_with_interesttoAsyncFd(#6345)- sync: add
forget_permitsmethod to semaphore (#6331)- sync: add
is_closed,is_empty, andlento mpsc receivers (#6348)- sync: add a
rwlock()method to ownedRwLockguards (#6418)- sync: expose strong and weak counts of mpsc sender handles (#6405)
- sync: implement
Cloneforwatch::Sender(#6388)- task: add
TaskLocalFuture::take_value(#6340)- task: implement
FromIteratorforJoinSet(#6300)Changed
- io: make
io::splituse a mutex instead of a spinlock (#6403)Fixed
- docs: fix docsrs build without net feature (#6360)
- macros: allow select with only else branch (#6339)
- runtime: fix leaking registration entries when os registration fails (#6329)
Documented
- io: document cancel safety of
AsyncBufReadExt::fill_buf(#6431)- io: document cancel safety of
AsyncReadExt's primitive read functions (#6337)- runtime: add doc link from
Runtimeto#[tokio::main](#6366)- runtime: make the
enterexample deterministic (#6351)- sync: add Semaphore example for limiting the number of outgoing requests (#6419)
- sync: fix missing period in broadcast docs (#6377)
- sync: mark
mpsc::Sender::downgradewith#[must_use](#6326)- sync: reorder
const_newbeforenew_with(#6392)- sync: update watch channel docs (#6395)
- task: fix documentation links (#6336)
Changed (unstable)
- runtime: include task
Idin taskdumps (#6328)- runtime: panic if
unhandled_panicis enabled when not supported (#6410)#6300: tokio-rs/tokio#6300 #6326: tokio-rs/tokio#6326 #6328: tokio-rs/tokio#6328 #6329: tokio-rs/tokio#6329 #6331: tokio-rs/tokio#6331 #6336: tokio-rs/tokio#6336 #6337: tokio-rs/tokio#6337
... (truncated)
Commits
9c337cachore: prepare Tokio v1.37.0 (#6435)e542501io: document cancel safety ofAsyncBufReadExt::fill_buf(#6431)4601c84stream: addnext_manyandpoll_next_manytoStreamMap(#6409)deff252util: document cancel safety ofSinkExt::sendandStreamExt::next(#6417)4565b81sync: add arwlock()method to ownedRwLockguards (#6418)3ce4720sync: addis_closed,is_empty, andlento mpsc receivers (#6348)8342e4butil: assert compatibility betweenLengthDelimitedCodecoptions (#6414)4c453e9readme: add description about benchmarks (#6425)1846483sync: expose strong and weak counts of mpsc sender handles (#6405)baad270sync: add Semaphore example for limiting the number of outgoing requests (#6419)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.