Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare Tokio v1.10.0 #4038

Merged
merged 1 commit into from
Aug 12, 2021
Merged

Prepare Tokio v1.10.0 #4038

merged 1 commit into from
Aug 12, 2021

Conversation

Darksonn
Copy link
Contributor

1.10.0 (August 12, 2021)

Added

  • io: add (read|write)_f(32|64)[_le] methods (#4022)
  • io: add fill_buf and consume to AsyncBufReadExt (#3991)
  • process: add Child::raw_handle() on windows (#3998)

Fixed

  • doc: fix non-doc builds with --cfg docsrs (#4020)
  • io: flush eagerly in io::copy (#4001)
  • runtime: a debug assert was sometimes triggered during shutdown (#4005)
  • sync: use spin_loop_hint instead of yield_now in mpsc (#4037)
  • tokio: the test-util feature depends on rt, sync, and time (#4036)

Changes

  • runtime: reorganize parts of the runtime (#3979, #4005)
  • signal: make windows docs for signal module show up on unix builds (#3770)
  • task: quickly send task to heap on debug mode (#4009)

Documented

  • io: document cancellation safety of AsyncBufReadExt (#3997)
  • sync: document when watch::send fails (#4021)

@Darksonn Darksonn added the A-tokio Area: The main tokio crate label Aug 12, 2021

### Fixed

- doc: fix non-doc builds with `--cfg docsrs` ([#4020])
Copy link
Member

@taiki-e taiki-e Aug 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC the problem that #4020 fixed does not exist in the released version.

Suggested change
- doc: fix non-doc builds with `--cfg docsrs` ([#4020])

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change in tokio/src/macros/cfg.rs did actually also fix something in the released version See the #tokio-docs channel in the discord.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added an explanation of this in the relevant PR description.

### Changes

- runtime: reorganize parts of the runtime ([#3979], [#4005])
- signal: make windows docs for signal module show up on unix builds ([#3770])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make sense to move this to the "Documented" section.

@Darksonn Darksonn merged commit c0974ba into master Aug 12, 2021
@Darksonn Darksonn deleted the prepare-tokio-1.10.0 branch August 12, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants