fix(deps): update all non-major dependencies
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| anyhow | dependencies | patch |
1.0.82 -> 1.0.100
|
| backon | dependencies | minor |
0.4.4 -> 0.5.0
|
| clap | dependencies | patch |
4.5.4 -> 4.5.53
|
| env_logger | dependencies | patch |
0.11.3 -> 0.11.8
|
| futures (source) | dependencies | patch |
0.3.30 -> 0.3.31
|
| graphql_client | dependencies | minor |
0.14.0 -> 0.15.0
|
| indicatif | dependencies | minor |
0.17.8 -> 0.18.0
|
| lazy_static | dependencies | minor |
1.4.0 -> 1.5.0
|
| log | dependencies | patch |
0.4.21 -> 0.4.29
|
| prometheus | dependencies | minor |
0.13.3 -> 0.14.0
|
| rayon | dependencies | minor |
1.10.0 -> 1.11.0
|
| reqwest | dependencies | patch |
0.12.4 -> 0.12.28
|
| serde (source) | dependencies | patch |
1.0.198 -> 1.0.228
|
| thiserror | dependencies | patch |
1.0.59 -> 1.0.69
|
| tokio (source) | dependencies | minor |
1.37.0 -> 1.48.0
|
Release Notes
dtolnay/anyhow (anyhow)
v1.0.100
- Teach clippy to lint formatting arguments in
bail!,ensure!,anyhow!(#426)
v1.0.99
- Allow build-script cleanup failure with NFSv3 output directory to be non-fatal (#420)
v1.0.98
- Add
self.into_boxed_dyn_error()andself.reallocate_into_boxed_dyn_error_without_backtrace()methods for anyhow::Error (#415)
v1.0.97
- Documentation improvements
v1.0.96
- Documentation improvements
v1.0.95
- Add
Error::from_boxed(#401, #402)
v1.0.94
- Documentation improvements
v1.0.93
- Update dev-dependencies to
thiserrorv2
v1.0.92
- Support Rust 1.82's
&raw constand&raw mutsyntax insideensure!(#390)
v1.0.91
- Ensure OUT_DIR is left with deterministic contents after build script execution (#388)
v1.0.90
- Documentation improvements
v1.0.89
- Make anyhow::Error's
UnwindSafeandRefUnwindSafeimpl consistently available between versions of Rust newer and older than 1.72 (#386)
v1.0.88
- Documentation improvements
v1.0.87
- Support more APIs, including
Error::newandError::chain, in no-std mode on Rust 1.81+ (#383)
v1.0.86
- Fix parse error in
ensure!with non-literal after minus sign (#373)
v1.0.85
v1.0.84
- Disallow calling
ensure!through aNotimpl for a type that is notbool(#367)
v1.0.83
- Integrate compile-time checking of cfgs (#363)
Xuanwo/backon (backon)
v0.5.0
Upgrade
Since version 0.5.0, backon no longer directly depends on tokio. Instead, users can now provide their own sleep implementation.
For example:
use anyhow::Result;
use backon::ExponentialBuilder;
use backon::Retryable;
use std::future::ready;
async fn main() -> Result<()> {
let content = fetch
.retry(&ExponentialBuilder::default())
.sleep(tokio::time::sleep)
.await?;
Ok(())
}
To maintain the same behavior as before, please enable the tokio-sleep feature.
What's Changed
- Remove duplicate example, point to examples on docs index page by @matildasmeds in https://github.com/Xuanwo/backon/pull/84
- ci: Use macos-latest for test by @Xuanwo in https://github.com/Xuanwo/backon/pull/87
- feat: Remove dependences on pin_project and futures_core by @Xuanwo in https://github.com/Xuanwo/backon/pull/86
- docs: Add an example for sqlx by @Xuanwo in https://github.com/Xuanwo/backon/pull/91
- Use wasm-compatible sleep if compiled for wasm32 by @wackazong in https://github.com/Xuanwo/backon/pull/92
- feat: Allow user to provide sleeper by @Xuanwo in https://github.com/Xuanwo/backon/pull/93
- Bump to version 0.5.0 by @Xuanwo in https://github.com/Xuanwo/backon/pull/94
New Contributors
- @matildasmeds made their first contribution in https://github.com/Xuanwo/backon/pull/84
- @wackazong made their first contribution in https://github.com/Xuanwo/backon/pull/92
Full Changelog: https://github.com/Xuanwo/backon/compare/v0.4.4...v0.5.0
clap-rs/clap (clap)
v4.5.53
Features
- Add
default_values_if,default_values_ifs
v4.5.52
Fixes
- Don't panic when
args_conflicts_with_subcommandsconflicts with anArgGroup
v4.5.51
Fixes
- (help) Correctly calculate padding for short flags that take a value
-
(help) Don't panic on short flags using
ArgAction::Count
v4.5.50
Features
- Accept
CowwhereStringand&strare accepted
v4.5.49
Fixes
- (help) Correctly wrap when ANSI escape codes are present
v4.5.48
Documentation
- Add a new CLI Concepts document as another way of framing clap
- Expand the
typed_derivecookbook entry
v4.5.47
Features
- Added
impl FromArgMatches for () - Added
impl Args for () - Added
impl Subcommand for () - Added
impl FromArgMatches for Infallible - Added
impl Subcommand for Infallible
Fixes
-
(derive) Update runtime error text to match
clap
v4.5.46
Features
- Expose
StyledStr::push_str
v4.5.45
Fixes
-
(unstable-v5)
ValueEnumvariants now use the full doc comment, not summary, forPossibleValue::help
v4.5.44
Features
- Add
Command::mut_subcommands
v4.5.43
Fixes
- (help) In long help, list Possible Values before defaults, rather than after, for a more consistent look
v4.5.42
Fixes
- Include subcommand visible long aliases in
--help
v4.5.41
Features
- Add
Styles::contextandStyles::context_valueto customize the styling of[default: value]like notes in the--help
v4.5.40
Features
- Support quoted ids in
arg!()macro (e.g.arg!("check-config": ...))
v4.5.39
Fixes
- (help) Show short flag aliases before long
- (help) Merge the short and long flag alias lists
v4.5.38
Fixes
-
(help) When showing aliases, include leading
--or-
v4.5.37
Features
- Added
ArgMatches::try_clear_id()
v4.5.36
Fixes
- (help) Revert 4.5.35's "Don't leave space for shorts if there are none" for now
v4.5.35
Fixes
-
(help) Align positionals and flags when put in the same
help_heading - (help) Don't leave space for shorts if there are none
v4.5.34
Fixes
-
(help) Don't add extra blank lines with
flatten_help(true)and subcommands without arguments
v4.5.33
Fixes
- (error) When showing the usage of a suggestion for an unknown argument, don't show the group
v4.5.32
Features
- Add
Error::remove
Documentation
-
(cookbook) Switch from
humantimetojiff - (tutorial) Better cover required vs optional
Internal
- Update
pulldown-cmark
v4.5.31
Features
- Add
ValueParserFactoryforSaturating<T>
v4.5.30
Fixes
-
(assert) Allow
num_args(0..=1)to be used withSetTrue -
(assert) Clean up rendering of
takes_valuesassertions
v4.5.29
Fixes
- Change
ArgMatches::args_presentso not-present flags are considered not-present (matching the documentation)
v4.5.28
Features
-
(derive) Unstable support for full markdown syntax for doc comments, enabled with
unstable-markdown
v4.5.27
Documentation
- Iterate on tutorials and reference based on feedback
v4.5.26
Fixes
-
(error) Reduce binary size with the
suggestionsfeature
v4.5.25
Fixes
- (help) Reduce binary size
v4.5.24
Fixes
-
(parser) Correctly handle defaults with
ignore_errors(true)and when a suggestion is provided for an unknown argument
v4.5.23
Fixes
-
(parser) When check
allow_negative_numbers, allowEagain
v4.5.22
Fixes
- (assert) Catch bugs with arguments requiring themself
v4.5.21
Fixes
-
(parser) Ensure defaults are filled in on error with
ignore_errors(true)
v4.5.20
Features
-
(unstable) Add
CommandExt
v4.5.19
Internal
- Update dependencies
v4.5.18
Features
-
(builder) Expose
Arg::get_display_orderandCommand::get_display_order
v4.5.17
Fixes
- (help) Style required argument groups
- (derive) Improve error messages when unsupported fields are used
v4.5.16
Fixes
-
(derive) Improve error messages when
derivefeature is missing
v4.5.15
Compatiblity
-
(unstable-ext)
Arg::removechanged return types
Fixes
-
(unstable-ext) Make
Arg::removereturn the removed item
v4.5.14
Features
-
(unstable-ext) Added
Arg::addfor attaching arbitrary state, like completion hints, toArgwithoutArgknowing about it
v4.5.13
Fixes
-
(derive) Improve error message when
#[flatten]ing an optional#[group(skip)] - (help) Properly wrap long subcommand descriptions in help
v4.5.12
v4.5.11
v4.5.10
v4.5.9
Fixes
- (error) When defining a custom help flag, be sure to suggest it like we do the built-in one
v4.5.8
Fixes
- Reduce extra flushes
v4.5.7
Fixes
- Clean up error message when too few arguments for
num_args
v4.5.6
v4.5.5
Features
- Add
default_values_if,default_values_ifs
rust-cli/env_logger (env_logger)
v0.11.8
Compatibility
-
(kv) Deprecate the
unstable-kvfeature which may be removed in a future patch release
Features
-
(kv) Stabilize key-value support behind the
kvfeature - Expose
ConfigurableFormatto build custom [Builder::format]s that leverage this
v0.11.7
Internal
- Replaced
humantimewithjiff
v0.11.6
Features
- Opt-in file and line rendering
v0.11.5
v0.11.4
rust-lang/futures-rs (futures)
v0.3.31
- Fix use after free of task in
FuturesUnorderedwhen dropped future panics (#2886) - Fix soundness bug in
task::waker_ref(#2830) This is a breaking change but allowed because it is soundness bug fix. - Fix bugs in
AsyncBufRead::read_lineandAsyncBufReadExt::lines(#2884) - Fix parsing issue in
select!/select_biased!(#2832) This is technically a breaking change as it will now reject a very odd undocumented syntax that was previously accidentally accepted. - Work around issue due to upstream
Waker::will_wakechange (#2865) - Add
stream::Iter::{get_ref,get_mut,into_inner}(#2875) - Add
future::AlwaysReady(#2825) - Relax trait bound on non-constructor methods of
io::{BufReader,BufWriter}(#2848)
graphql-rust/graphql-client (graphql_client)
v0.15.0
- Support for
deprecateddirective on InputValue fields (#553) - Support for custom variable and response types (#536)
- Allow using
#[derive(GraphQLQuery)]without depending onserdedirectly (#487) - CLI option for extern enums (#520)
- Support deserializing IDs from integers or strings (#476)
- Introspection schema now includes
oneOfandspecifiedByUrl(#501) - Update
reqwestto 0.12 (#499) - Fix required ID deserialization (#523)
- Fix
skip_serializing_nonefor root level variables (#485) - Use consistent reference to
graphql_clientcrate in codegen (#484) - Fix multiple operations example in README (#497)
console-rs/indicatif (indicatif)
v0.18.3
What's Changed
- Add ProgressBar::set_elapsed by @sunshowers in https://github.com/console-rs/indicatif/pull/742
v0.18.2
What's Changed
- Fix wide_msg truncation with a colored message by @glehmann in https://github.com/console-rs/indicatif/pull/740
- style: tweak write_ansi_range() style by @djc in https://github.com/console-rs/indicatif/pull/741
v0.18.1
What's Changed
- Do not render "current" char if no "current" char is configured by @Finomnis in https://github.com/console-rs/indicatif/pull/719
- Update vt100 requirement from 0.15.1 to 0.16.1 by @dependabot[bot] in https://github.com/console-rs/indicatif/pull/723
- Bump MSRV to 1.71 with versioned lockfile by @djc in https://github.com/console-rs/indicatif/pull/735
- Fix wide_bar width computation with a multiline message by @glehmann in https://github.com/console-rs/indicatif/pull/738
v0.18.0
Unfortunately 0.17.12 had to be yanked because the console upgrade was a semver-incompatible change. Rerelease as 0.18.0 instead.
What's Changed
- Bump version to 0.18.0 by @djc in https://github.com/console-rs/indicatif/pull/715
v0.17.12
What's Changed
- Add ProgressBar::force_draw by @jaheba in https://github.com/console-rs/indicatif/pull/689
- Use width to truncate
HumanFloatCountvalues by @ReagentX in https://github.com/console-rs/indicatif/pull/696 -
ProgressStyleenable/disable colors based on draw target by @tonywu6 in https://github.com/console-rs/indicatif/pull/699 - Switch dep number_prefix to unit_prefix by @kimono-koans in https://github.com/console-rs/indicatif/pull/709
- draw_target: inline the format arg to silence clippy by @chris-laplante in https://github.com/console-rs/indicatif/pull/711
- Upgrade to console 0.16 by @djc in https://github.com/console-rs/indicatif/pull/712
v0.17.11
What's Changed
- Change
OnceCelltoOnceLockinTabExpandedStringby @tgross35 in https://github.com/console-rs/indicatif/pull/694
v0.17.10
What's Changed
With some great performance improvements from @jaheba.
- Fix bar-less text output by @spoutn1k in https://github.com/console-rs/indicatif/pull/659
- add tracing-indicatif create to integration list by @emersonford in https://github.com/console-rs/indicatif/pull/673
- Fix double prints by @spoutn1k in https://github.com/console-rs/indicatif/pull/671
- Only get draw_target-width when we actually draw by @jaheba in https://github.com/console-rs/indicatif/pull/683
- Make tab extension lazy by @jaheba in https://github.com/console-rs/indicatif/pull/684
- Make
ProgressBar:set_tab_withtake&selfby @jaheba in https://github.com/console-rs/indicatif/pull/685 - Remove unnecessary spinner display in multi examples by @shuntaka9576 in https://github.com/console-rs/indicatif/pull/682
- Add
decanddec_lengthtoProgressBarby @jaheba in https://github.com/console-rs/indicatif/pull/690 - Update rand requirement from 0.8 to 0.9 by @dependabot in https://github.com/console-rs/indicatif/pull/693
v0.17.9
What's Changed
- Mention ProgressTracker near list of template keys by @djc in https://github.com/console-rs/indicatif/pull/632
- tests: print whether colors are enabled to help diagnose spurious failure by @chris-laplante in https://github.com/console-rs/indicatif/pull/641
- Workarounds for flaky tty/color support in GitHub actions runner by @chris-laplante in https://github.com/console-rs/indicatif/pull/646
- Fix move cursor flag not working by @SuperTux88 in https://github.com/console-rs/indicatif/pull/648
- chore: fix comment by @rustco in https://github.com/console-rs/indicatif/pull/649
- Fix AtomicPosition::reset storing wrong value by @TheJokr in https://github.com/console-rs/indicatif/pull/650
- Documentation tweaks; bump MSRV by @chris-laplante in https://github.com/console-rs/indicatif/pull/653
- Update deny config for cargo-deny 0.15 release by @djc in https://github.com/console-rs/indicatif/pull/655
- Update unicode-width requirement from 0.1 to 0.2 by @dependabot in https://github.com/console-rs/indicatif/pull/658
- Replace
instantwithweb-timeby @torokati44 in https://github.com/console-rs/indicatif/pull/666 - Bump EmbarkStudios/cargo-deny-action from 1 to 2 by @dependabot in https://github.com/console-rs/indicatif/pull/654
- Bump version to 0.17.9 by @djc in https://github.com/console-rs/indicatif/pull/667
- feat: allow constructing and setting the progress bar len to
Noneby @cdellacqua in https://github.com/console-rs/indicatif/pull/664
rust-lang/log (log)
v0.4.29
v0.4.28
v0.4.27
What's Changed
- A few minor lint fixes by @nyurik in https://github.com/rust-lang/log/pull/671
- Enable clippy support for format-like macros by @nyurik in https://github.com/rust-lang/log/pull/665
- Add an optional logger param by @tisonkun in https://github.com/rust-lang/log/pull/664
- Pass global logger by value, supplied logger by ref by @KodrAus in https://github.com/rust-lang/log/pull/673
Full Changelog: https://github.com/rust-lang/log/compare/0.4.26...0.4.27
v0.4.26
What's Changed
- Derive
Cloneforkv::Valueby @SpriteOvO in https://github.com/rust-lang/log/pull/668 - Add
spdlog-rslink to crate doc by @SpriteOvO in https://github.com/rust-lang/log/pull/669
Full Changelog: https://github.com/rust-lang/log/compare/0.4.25...0.4.26
v0.4.25
What's Changed
- Revert loosening of kv cargo features by @KodrAus in https://github.com/rust-lang/log/pull/662
Full Changelog: https://github.com/rust-lang/log/compare/0.4.24...0.4.25
v0.4.24
What's Changed
- Fix up kv feature activation by @KodrAus in https://github.com/rust-lang/log/pull/659
Full Changelog: https://github.com/rust-lang/log/compare/0.4.23...0.4.24
v0.4.23
What's Changed
- Fix some typos by @Kleinmarb in https://github.com/rust-lang/log/pull/637
- Add logforth to implementation by @tisonkun in https://github.com/rust-lang/log/pull/638
- Add
spdlog-rslink to README by @SpriteOvO in https://github.com/rust-lang/log/pull/639 - Add correct lifetime to kv::Value::to_borrowed_str by @stevenroose in https://github.com/rust-lang/log/pull/643
- docs: Add logforth as an impl by @tisonkun in https://github.com/rust-lang/log/pull/642
- Add clang_log implementation by @DDAN-17 in https://github.com/rust-lang/log/pull/646
- Bind lifetimes of &str returned from Key by the lifetime of 'k rather than the lifetime of the Key struct by @gbbosak in https://github.com/rust-lang/log/pull/648
- Fix up key lifetimes and add method to try get a borrowed key by @KodrAus in https://github.com/rust-lang/log/pull/653
- Add Ftail implementation by @tjardoo in https://github.com/rust-lang/log/pull/652
New Contributors
- @Kleinmarb made their first contribution in https://github.com/rust-lang/log/pull/637
- @tisonkun made their first contribution in https://github.com/rust-lang/log/pull/638
- @SpriteOvO made their first contribution in https://github.com/rust-lang/log/pull/639
- @stevenroose made their first contribution in https://github.com/rust-lang/log/pull/643
- @DDAN-17 made their first contribution in https://github.com/rust-lang/log/pull/646
- @gbbosak made their first contribution in https://github.com/rust-lang/log/pull/648
- @tjardoo made their first contribution in https://github.com/rust-lang/log/pull/652
Full Changelog: https://github.com/rust-lang/log/compare/0.4.22...0.4.23
v0.4.22
What's Changed
- Add some clarifications to the library docs by @KodrAus in https://github.com/rust-lang/log/pull/620
- Add links to
cologcrate by @chrivers in https://github.com/rust-lang/log/pull/621 - adding line_number test + updating some testing infrastructure by @DIvkov575 in https://github.com/rust-lang/log/pull/619
- Clarify the actual set of functions that can race in _racy variants by @KodrAus in https://github.com/rust-lang/log/pull/623
- Replace deprecated std::sync::atomic::spin_loop_hint() by @Catamantaloedis in https://github.com/rust-lang/log/pull/625
- Check usage of max_level features by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/627
- Remove unneeded import by @Thomasdezeeuw in https://github.com/rust-lang/log/pull/628
- Loosen orderings for logger initialization in https://github.com/rust-lang/log/pull/632. Originally by @pwoolcoc in https://github.com/rust-lang/log/pull/599
- Use Location::caller() for file and line info in https://github.com/rust-lang/log/pull/633. Originally by @Cassy343 in https://github.com/rust-lang/log/pull/520
New Contributors
- @chrivers made their first contribution in https://github.com/rust-lang/log/pull/621
- @DIvkov575 made their first contribution in https://github.com/rust-lang/log/pull/619
- @Catamantaloedis made their first contribution in https://github.com/rust-lang/log/pull/625
Full Changelog: https://github.com/rust-lang/log/compare/0.4.21...0.4.22
tikv/rust-prometheus (prometheus)
v0.14.0
-
API change: Use
AsRef<str>for owned label values (#537) -
Improvement: Hashing improvements (#532)
-
Dependency upgrade: Update
hyperto 1.6 (#524) -
Dependency upgrade: Update
procfsto 0.17 (#543) -
Dependency upgrade: Update
protobufto 3.7.2 for RUSTSEC-2024-0437 (#541) -
Dependency upgrade: Update
thiserrorto 2.0 (#534) -
Internal change: Fix LSP and Clippy warnings (#540)
-
Internal change: Bump MSRV to 1.81 (#539)
-
Documentation: Fix
register_histogram_vec_with_registrydocstring (#528) -
Documentation: Fix typos in static-metric docstrings (#479)
-
Documentation: Add missing
protobuffeature to README list (#531)
v0.13.4
-
Improvement: Add PullingGauge (#405)
-
Improvement: Let cargo know which example requires which features (#511)
-
Bug fix: Prevent
clippy::ignored_unit_patternsin macro expansions (#497) -
Internal change: Add CI job for minimum toolchain (MSRV) (#467)
-
Internal change: Update CI to
actions/checkout@v4(#499) -
Internal change: Update dependencies
rayon-rs/rayon (rayon)
v1.11.0
- The minimum supported
rustcis now 1.80. -
iter::repeatnhas been renamed toiter::repeat_nto match the name stabilized in the standard library. The old name still exists as a deprecated function for compatibility. - Fixed a bug in
in_place_scopewhen the default global registry uses the current thread, like on WebAssembly without threading support. -
binary_heap::Iterno longer requires a temporary allocation. - Relaxed trait bounds on many of the public structs.
- Implemented
IntoParallelIterator for Box<[T]>and its references. - Implemented
FromParallelIterator<_> for Box<str>viaString.
seanmonstar/reqwest (reqwest)
v0.12.28
- Fix compiling on Windows if TLS and SOCKS features are not enabled.
v0.12.27
- Add
ClientBuilder::windows_named_pipe(name)option that will force all requests over that Windows Named Piper.
v0.12.26
- Fix sending
Accept-Encodingheader only with values configured with reqwest, regardless of underlying tower-http config.
v0.12.25
- Add
Error::is_upgrade()to determine if the error was from an HTTP upgrade. - Fix sending
Proxy-Authorizationif only username is configured. - Fix sending
Proxy-Authorizationto HTTPS proxies when the target is HTTP. - Refactor internal decompression handling to use tower-http.
v0.12.24
- Refactor cookie handling to an internal middleware.
- Refactor internal random generator.
- Refactor base64 encoding to reduce a copy.
- Documentation updates.
v0.12.23
- Add
ClientBuilder::unix_socket(path)option that will force all requests over that Unix Domain Socket. - Add
ClientBuilder::retry(policy)andreqwest::retry::Builderto configure automatic retries. - Add
ClientBuilder::dns_resolver2()with more ergonomic argument bounds, allowing more resolver implementations. - Add
http3_*options toblocking::ClientBuilder. - Fix default TCP timeout values to enabled and faster.
- Fix SOCKS proxies to default to port 1080
- (wasm) Add cache methods to
RequestBuilder.
v0.12.22
- Fix socks proxies when resolving IPv6 destinations.
v0.12.21
- Fix socks proxy to use
socks4a://instead ofsocks4h://. - Fix
Error::is_timeout()to check for hyper and IO timeouts too. - Fix request
Errorto again include URLs when possible. - Fix socks connect error to include more context.
- (wasm) implement
DefaultforBody.
v0.12.20
- Add
ClientBuilder::tcp_user_timeout(Duration)option to setTCP_USER_TIMEOUT. - Fix proxy headers only using the first matched proxy.
- (wasm) Fix re-adding
Error::is_status().
v0.12.19
- Fix redirect that changes the method to GET should remove payload headers.
- Fix redirect to only check the next scheme if the policy action is to follow.
- (wasm) Fix compilation error if
cookiesfeature is enabled (by the way, it's a noop feature in wasm).
v0.12.18
- Fix compilation when
socksenabled without TLS.
v0.12.17
- Fix compilation on macOS.
v0.12.16
- Add
ClientBuilder::http3_congestion_bbr()to enable BBR congestion control. - Add
ClientBuilder::http3_send_grease()to configure whether to send use QUIC grease. - Add
ClientBuilder::http3_max_field_section_size()to configure the maximum response headers. - Add
ClientBuilder::tcp_keepalive_interval()to configure TCP probe interval. - Add
ClientBuilder::tcp_keepalive_retries()to configure TCP probe count. - Add
Proxy::headers()to add extra headers that should be sent to a proxy. - Fix
redirect::Policy::limit()which had an off-by-1 error, allowing 1 more redirect than specified. - Fix HTTP/3 to support streaming request bodies.
- (wasm) Fix null bodies when calling
Response::bytes_stream().
v0.12.15
- Fix Windows to support both
ProxyOverrideandNO_PROXY. - Fix http3 to support streaming response bodies.
- Fix http3 dependency from public API misuse.
v0.12.14
- Fix missing
fetch_mode_no_cors(), marking as deprecated when not on WASM.
v0.12.13
- Add
Form::into_reader()for blockingmultipartforms. - Add
Form::into_stream()for asyncmultipartforms. - Add support for SOCKS4a proxies.
- Fix decoding responses with multiple zstd frames.
- Fix
RequestBuilder::form()from overwriting a previously setContent-Typeheader, like the other builder methods. - Fix cloning of request timeout in
blocking::Request. - Fix http3 synchronization of connection creation, reducing unneccesary extra connections.
- Fix Windows system proxy to use
ProxyOverrideas aNO_PROXYvalue. - Fix blocking read to correctly reserve and zero read buffer.
- (wasm) Add support for request timeouts.
- (wasm) Fix
Error::is_timeout()to return true when from a request timeout.
v0.12.12
- (wasm) Fix compilation by not compiler
tokio/timeon WASM.
v0.12.11
- Fix decompression returning an error when HTTP/2 ends with an empty data frame.
v0.12.10
- Add
ClientBuilder::connector_layer()to allow customizing the connector stack. - Add
ClientBuilder::http2_max_header_list_size()option. - Fix propagating body size hint (
content-length) information when wrapping bodies. - Fix decompression of chunked bodies so the connections can be reused more often.
v0.12.9
- Add
tls::CertificateRevocationListssupport. - Add crate features to enable webpki roots without selecting a rustls provider.
- Fix
connection_verbose()to output read logs. - Fix
multipart::Part::file()to automatically include content-length. - Fix proxy to internally no longer cache system proxy settings.
v0.12.8
- Add support for SOCKS4 proxies.
- Add
multipart::Form::file()method for adding files easily. - Add
Body::wrap()to wrap anyhttp_body::Bodytype. - Fix the pool configuration to use a timer to remove expired connections.
v0.12.7
- Revert adding
impl Service<http::Request<_>>forClient.
v0.12.6
- Add support for
danger_accept_invalid_hostnamesforrustls. - Add
impl Service<http::Request<Body>>forClientand&'_ Client. - Add support for
!Syncbodies inBody::wrap_stream(). - Enable happy eyeballs when
hickory-dnsis used. - Fix
Proxyso thatHTTP(S)_PROXYvalues take precedence overALL_PROXY. - Fix
blocking::RequestBuilder::header()from unsettingsensitiveon passed header values.
v0.12.5
- Add
blocking::ClientBuilder::dns_resolver()method to change DNS resolver in blocking client. - Add
http3feature back, still requiringreqwest_unstable. - Add
rustls-tls-no-providerCargo feature to use rustls without a crypto provider. - Fix
Accept-Encodingheader combinations. - Fix http3 resolving IPv6 addresses.
- Internal: upgrade to rustls 0.23.
serde-rs/serde (serde)
v1.0.228
- Allow building documentation with
RUSTDOCFLAGS='--cfg=docsrs'set for the whole dependency graph (#2995)
v1.0.227
- Documentation improvements (#2991)
v1.0.226
- Deduplicate variant matching logic inside generated Deserialize impl for adjacently tagged enums (#2935, thanks @Mingun)
v1.0.225
- Avoid triggering a deprecation warning in derived Serialize and Deserialize impls for a data structure that contains its own deprecations (#2879, thanks @rcrisanti)
v1.0.224
- Remove private types being suggested in rustc diagnostics (#2979)
v1.0.223
- Fix serde_core documentation links (#2978)
v1.0.222
- Make
serialize_withattribute produce code that works if respanned to 2024 edition (#2950, thanks @aytey)
v1.0.221
v1.0.220
- Add a way for data formats to depend on serde traits without waiting for serde_derive compilation: https://docs.rs/serde_core (#2608, thanks @osiewicz)
v1.0.219
- Prevent
absolute_pathsClippy restriction being triggered inside macro-generated code (#2906, thanks @davidzeng0)
v1.0.218
- Documentation improvements
v1.0.217
v1.0.216
- Mark all generated impls with #[automatically_derived] to exclude from code coverage (#2866, #2868, thanks @tdittr)
v1.0.215
- Produce warning when multiple fields or variants have the same deserialization name (#2855, #2856, #2857)
v1.0.214
- Implement IntoDeserializer for all Deserializers in serde::de::value module (#2568, thanks @Mingun)
v1.0.213
- Fix support for macro-generated
withattributes inside a newtype struct (#2847)
v1.0.212
- Fix hygiene of macro-generated local variable accesses in serde(with) wrappers (#2845)
v1.0.211
- Improve error reporting about mismatched signature in
withanddefaultattributes (#2558, thanks @Mingun) - Show variant aliases in error message when variant deserialization fails (#2566, thanks @Mingun)
- Improve binary size of untagged enum and internally tagged enum deserialization by about 12% (#2821)
v1.0.210
- Support serializing and deserializing
IpAddrandSocketAddrin no-std mode on Rust 1.77+ (#2816, thanks @MathiasKoch) - Make
serde::ser::StdErrorandserde::de::StdErrorequivalent tocore::error::Erroron Rust 1.81+ (#2818)
v1.0.209
- Fix deserialization of empty structs and empty tuples inside of untagged enums (#2805, thanks @Mingun)
v1.0.208
v1.0.207
- Improve interactions between
flattenattribute andskip_serializing/skip_deserializing(#2795, thanks @Mingun)
v1.0.206
v1.0.205
- Use serialize_entry instead of serialize_key + serialize_value when serialize flattened newtype enum variants (#2785, thanks @Mingun)
- Avoid triggering a collection_is_never_read lint in the deserialization of enums containing flattened fields (#2791)
v1.0.204
- Apply #[diagnostic::on_unimplemented] attribute on Rust 1.78+ to suggest adding serde derive or enabling a "serde" feature flag in dependencies (#2767, thanks @weiznich)
v1.0.203
- Documentation improvements (#2747)
v1.0.202
- Provide public access to RenameAllRules in serde_derive_internals (#2743)
v1.0.201
- Resolve unexpected_cfgs warning (#2737)
v1.0.200
- Fix formatting of "invalid type" and "invalid value" deserialization error messages containing NaN or infinite floats (#2733, thanks @jamessan)
v1.0.199
- Fix ambiguous associated item when
forward_to_deserialize_any!is used on an enum withErrorvariant (#2732, thanks @aatifsyed)
dtolnay/thiserror (thiserror)
v1.0.69
- Backport 2.0.2 fixes
v1.0.68
- Handle incomplete expressions more robustly in format arguments, such as while code is being typed (#341, #344)
v1.0.67
v1.0.66
- Improve compile error on malformed format attribute (#327)
v1.0.65
- Ensure OUT_DIR is left with deterministic contents after build script execution (#325)
v1.0.64
v1.0.63
- Documentation improvements
v1.0.62
- Support referring to nested tuple struct fields inside
#[error("…", …)]attribute (#309)
v1.0.61
v1.0.60
- Resolve unexpected_cfgs warning (#298)
tokio-rs/tokio (tokio)
v1.48.0: Tokio v1.48.0
1.48.0 (October 14th, 2025)
The MSRV is increased to 1.71.
Added
- fs: add
File::max_buf_size(#7594) - io: export
ChainofAsyncReadExt::chain(#7599) - net: add
SocketAddr::as_abstract_name(#7491) - net: add
TcpStream::quickackandTcpStream::set_quickack(#7490) - net: implement
AsRef<Self>forTcpStreamandUnixStream(#7573) - task: add
LocalKey::try_get(#7666) - task: implement
Ordfortask::Id(#7530)
Changed
- deps: bump windows-sys to version 0.61 (#7645)
- fs: preserve
max_buf_sizewhen cloning aFile(#7593) - macros: suppress
clippy::unwrap_in_resultin#[tokio::main](#7651) - net: remove
PollEventednoise from Debug formats (#7675) - process: upgrade
Command::spawn_withto useFnOnce(#7511) - sync: remove inner mutex in
SetOnce(#7554) - sync: use
UnsafeCell::get_mutinMutex::get_mutandRwLock::get_mut(#7569) - time: reduce the generated code size of
Timeout<T>::poll(#7535)
Fixed
- macros: fix hygiene issue in
join!andtry_join!(#7638) - net: fix copy/paste errors in udp peek methods (#7604)
- process: fix error when runtime is shut down on nightly-2025-10-12 (#7672)
- runtime: use release ordering in
wake_by_ref()even if already woken (#7622) - sync: close the
broadcast::Senderinbroadcast::Sender::new()(#7629) - sync: fix implementation of unused
RwLock::try_*methods (#7587)
Unstable
- tokio: use cargo features instead of
--cfgflags fortaskdumpandio_uring(#7655, #7621) - fs: support
io_uringinfs::write(#7567) - fs: support
io_uringwithFile::open()(#7617) - fs: support
io_uringwithOpenOptions(#7321) - macros: add
localruntime flavor (#7375, #7597)
Documented
- io: clarify the zero capacity case of
AsyncRead::poll_read(#7580) - io: fix typos in the docs of
AsyncFdreadiness guards (#7583) - net: clarify socket gets closed on drop (#7526)
- net: clarify the behavior of
UCred::pid()on Cygwin (#7611) - net: clarify the supported platform of
set_reuseport()andreuseport()(#7628) - net: qualify that
SO_REUSEADDRis only set on Unix (#7533) - runtime: add guide for choosing between runtime types (#7635)
- runtime: clarify the behavior of
Handle::block_on(#7665) - runtime: clarify the edge case of
Builder::global_queue_interval()(#7605) - sync: clarify bounded channel panic behavior (#7641)
- sync: clarify the behavior of
tokio::sync::watch::Receiver(#7584) - sync: document cancel safety on
SetOnce::wait(#7506) - sync: fix the docs of
parking_lotfeature flag (#7663) - sync: improve the docs of
UnboundedSender::send(#7661) - sync: improve the docs of
sync::watch(#7601) - sync: reword allocation failure paragraph in broadcast docs (#7595)
- task: clarify the behavior of several
spawn_localmethods (#7669) - task: clarify the task ID reuse guarantees (#7577)
- task: improve the example of
poll_proceed(#7586)
v1.47.2
v1.47.1: Tokio v1.47.1
1.47.1 (August 1st, 2025)
Fixed
- process: fix panic from spurious pidfd wakeup (#7494)
- sync: fix broken link of Python
asyncio.EventinSetOncedocs (#7485)
v1.47.0: Tokio v1.47.0
1.47.0 (July 25th, 2025)
This release adds poll_proceed and cooperative to the coop module for
cooperative scheduling, adds SetOnce to the sync module which provides
similar functionality to [std::sync::OnceLock], and adds a new method
sync::Notify::notified_owned() which returns an OwnedNotified without
a lifetime parameter.
Added
- coop: add
cooperativeandpoll_proceed(#7405) - sync: add
SetOnce(#7418) - sync: add
sync::Notify::notified_owned()(#7465)
Changed
- deps: upgrade windows-sys 0.52 → 0.59 ([#7117])
- deps: update to socket2 v0.6 ([#7443])
- sync: improve
AtomicWaker::wakeperformance (#7450)
Documented
- metrics: fix listed feature requirements for some metrics (#7449)
- runtime: improve safety comments of
Readiness<'_>(#7415)
v1.46.1: Tokio v1.46.1
1.46.1 (July 4th, 2025)
This release fixes incorrect spawn locations in runtime task hooks for tasks spawned using tokio::spawn rather than Runtime::spawn. This issue only effected the spawn location in TaskMeta::spawned_at, and did not effect task locations in Tracing events.
Unstable
- runtime: add
TaskMeta::spawn_locationtracking where a task was spawned (#7440)
v1.46.0: Tokio v1.46.0
1.46.0 (July 2nd, 2025)
Fixed
- net: fixed
TcpStream::shutdownincorrectly returning an error on macOS (#7290)
Added
- sync:
mpsc::OwnedPermit::{same_channel, same_channel_as_sender}methods (#7389) - macros:
biasedoption forjoin!andtry_join!, similar toselect!(#7307) - net: support for cygwin (#7393)
- net: support
pope::OpenOptions::read_writeon Android (#7426) - net: add
Cloneimplementation fornet::unix::SocketAddr(#7422)
Changed
- runtime: eliminate unnecessary lfence while operating on
queue::Local<T>(#7340) - task: disallow blocking in
LocalSet::{poll,drop}(#7372)
Unstable
- runtime: add
TaskMeta::spawn_locationtracking where a task was spawned (#7417) - runtime: removed borrow from
LocalOptionsparameter toruntime::Builder::build_local(#7346)
Documented
- io: clarify behavior of seeking when
start_seekis not used (#7366) - io: document cancellation safety of
AsyncWriteExt::flush(#7364) - net: fix docs for
recv_buffer_sizemethod (#7336) - net: fix broken link of
RawFdinTcpSocketdocs (#7416) - net: update
AsRawFddoc link to current Rust stdlib location (#7429) - readme: fix double period in reactor description (#7363)
- runtime: add doc note that
on_*_task_pollis unstable (#7311) - sync: update broadcast docs on allocation failure (#7352)
- time: add a missing panic scenario of
time::advance(#7394)
v1.45.1: Tokio v1.45.1
1.45.1 (May 24th, 2025)
This fixes a regression on the wasm32-unknown-unknown target, where code that previously did not panic due to calls to Instant::now() started failing. This is due to the stabilization of the first time-based metric.
Fixed
- Disable time-based metrics on wasm32-unknown-unknown (#7322)
v1.45.0: Tokio v1.45.0
Added
- metrics: stabilize
worker_total_busy_duration,worker_park_count, andworker_unpark_count(#6899, #7276) - process: add
Command::spawn_with(#7249)
Changed
- io: do not require
Unpinfor some trait impls (#7204) - rt: mark
runtime::Handleas unwind safe (#7230) - time: revert internal sharding implementation (#7226)
Unstable
- rt: remove alt multi-threaded runtime (#7275)
v1.44.2: Tokio v1.44.2
This release fixes a soundness issue in the broadcast channel. The channel
accepts values that are Send but !Sync. Previously, the channel called
clone() on these values without synchronizing. This release fixes the channel
by synchronizing calls to .clone() (Thanks Austin Bonander for finding and
reporting the issue).
Fixed
- sync: synchronize
clone()call in broadcast channel (#7232)
v1.44.1: Tokio v1.44.1
1.44.1 (March 13th, 2025)
Fixed
- rt: skip defer queue in
block_in_placecontext (#7216)
v1.44.0: Tokio v1.44.0
1.44.0 (March 7th, 2025)
This release changes the from_std method on sockets to panic if a blocking socket is provided. We determined this change is not a breaking change as Tokio is not intended to operate using blocking sockets. Doing so results in runtime hangs and should be considered a bug. Accidentally passing a blocking socket to Tokio is one of the most common user mistakes. If this change causes an issue for you, please comment on #7172.
Added
- coop: add
task::coopmodule (#7116) - process: add
Command::get_kill_on_drop()(#7086) - sync: add
broadcast::Sender::closed(#6685, #7090) - sync: add
broadcast::WeakSender(#7100) - sync: add
oneshot::Receiver::is_empty()(#7153) - sync: add
oneshot::Receiver::is_terminated()(#7152)
Fixed
- fs: empty reads on
Fileshould not start a background read (#7139) - process: calling
start_killon exited child should not fail (#7160) - signal: fix
CTRL_CLOSE,CTRL_LOGOFF,CTRL_SHUTDOWNon windows (#7122) - sync: properly handle panic during mpsc drop (#7094)
Changes
- runtime: clean up magic number in registration set (#7112)
- coop: make coop yield using waker defer strategy (#7185)
- macros: make
select!budget-aware (#7164) - net: panic when passing a blocking socket to
from_std(#7166) - io: clean up buffer casts (#7142)
Changes to unstable APIs
- rt: add before and after task poll callbacks (#7120)
- tracing: make the task tracing API unstable public (#6972)
Documented
- docs: fix nesting of sections in top-level docs (#7159)
- fs: rename symlink and hardlink parameter names (#7143)
- io: swap reader/writer in simplex doc test (#7176)
- macros: docs about
select!alternatives (#7110) - net: rename the argument for
send_to(#7146) - process: add example for reading
Childstdout (#7141) - process: clarify
Child::killbehavior (#7162) - process: fix grammar of the
ChildStdinstruct doc comment (#7192) - runtime: consistently use
worker_threadsinstead ofcore_threads(#7186)
v1.43.3
v1.43.2: Tokio v1.43.2
1.43.2 (August 1st, 2025)
Fixed
- process: fix panic from spurious pidfd wakeup (#7494)
v1.43.1
v1.43.0: Tokio v1.43.0
1.43.0 (Jan 8th, 2025)
Added
- net: add
UdpSocket::peekmethods (#7068) - net: add support for Haiku OS (#7042)
- process: add
Command::into_std()(#7014) - signal: add
SignalKind::infoon illumos (#6995) - signal: add support for realtime signals on illumos (#7029)
Fixed
- io: don't call
set_lenbefore initializing vector inBlocking(#7054) - macros: suppress
clippy::needless_returnin#[tokio::main](#6874) - runtime: fix thread parking on WebAssembly (#7041)
Changes
- chore: use unsync loads for
unsync_load(#7073) - io: use
Buf::put_bytesinRepeatread impl (#7055) - task: drop the join waker of a task eagerly (#6986)
Changes to unstable APIs
- metrics: improve flexibility of H2Histogram Configuration (#6963)
- taskdump: add accessor methods for backtrace (#6975)
Documented
- io: clarify
ReadBuf::uninitallows initialized buffers as well (#7053) - net: fix ambiguity in
TcpStream::try_write_vectoreddocs (#7067) - runtime: fix
LocalRuntimedoc links (#7074) - sync: extend documentation for
watch::Receiver::wait_for(#7038) - sync: fix typos in
OnceCelldocs (#7047)
v1.42.1: Tokio v1.42.1
This release fixes a soundness issue in the broadcast channel. The channel accepts values that are Send but !Sync. Previously, the channel called clone() on these values without synchronizing. This release fixes the channel by synchronizing calls to .clone() (Thanks Austin Bonander for finding and reporting the issue).
Fixed
- sync: synchronize
clone()call in broadcast channel (#7232)
v1.42.0: Tokio v1.42.0
1.42.0 (Dec 3rd, 2024)
Added
- io: add
AsyncFd::{try_io, try_io_mut}(#6967)
Fixed
- io: avoid
ptr->ref->ptrroundtrip in RegistrationSet (#6929) - runtime: do not defer
yield_nowinsideblock_in_place(#6999)
Changes
- io: simplify io readiness logic (#6966)
Documented
- net: fix docs for
tokio::net::unix::{pid_t, gid_t, uid_t}(#6791) - time: fix a typo in
Instantdocs (#6982)
v1.41.1: Tokio v1.41.1
1.41.1 (Nov 7th, 2024)
Fixed
- metrics: fix bug with wrong number of buckets for the histogram (#6957)
- net: display
netrequirement fornet::UdpSocketin docs (#6938) - net: fix typo in
TcpStreaminternal comment (#6944)
v1.41.0: Tokio v1.41.0
1.41.0 (Oct 22th, 2024)
Added
- metrics: stabilize
global_queue_depth(#6854, #6918) - net: add conversions for unix
SocketAddr(#6868) - sync: add
watch::Sender::sender_count(#6836) - sync: add
mpsc::Receiver::blocking_recv_many(#6867) - task: stabilize
Idapis (#6793, #6891)
Added (unstable)
- metrics: add H2 Histogram option to improve histogram granularity (#6897)
- metrics: rename some histogram apis (#6924)
- runtime: add
LocalRuntime(#6808)
Changed
- runtime: box futures larger than 16k on release mode (#6826)
- sync: add
#[must_use]toNotified(#6828) - sync: make
watchcooperative (#6846) - sync: make
broadcast::Receivercooperative (#6870) - task: add task size to tracing instrumentation (#6881)
- wasm: enable
cfg_fsforwasitarget (#6822)
Fixed
- net: fix regression of abstract socket path in unix socket (#6838)
Documented
- io: recommend
OwnedFdwithAsyncFd(#6821) - io: document cancel safety of
AsyncFdmethods (#6890) - macros: render more comprehensible documentation for
joinandtry_join(#6814, #6841) - net: fix swapped examples for
TcpSocket::set_nodelayandTcpSocket::nodelay(#6840) - sync: document runtime compatibility (#6833)
v1.40.0: Tokio v1.40.0
1.40.0 (August 30th, 2024)
Added
- io: add
util::SimplexStream(#6589) - process: stabilize
Command::process_group(#6731) - sync: add
{TrySendError,SendTimeoutError}::into_inner(#6755) - task: add
JoinSet::join_all(#6784)
Added (unstable)
- runtime: add
Builder::{on_task_spawn, on_task_terminate}(#6742)
Changed
- io: use vectored io for
write_all_bufwhen possible (#6724) - runtime: prevent niche-optimization to avoid triggering miri (#6744)
- sync: mark mpsc types as
UnwindSafe(#6783) - sync,time: make
SleepandBatchSemaphoreinstrumentation explicit roots (#6727) - task: use
NonZeroU64fortask::Id(#6733) - task: include panic message when printing
JoinError(#6753) - task: add
#[must_use]toJoinHandle::abort_handle(#6762) - time: eliminate timer wheel allocations (#6779)
Documented
- docs: clarify that
[build]section doesn't go in Cargo.toml (#6728) - io: clarify zero remaining capacity case (#6790)
- macros: improve documentation for
select!(#6774) - sync: document mpsc channel allocation behavior (#6773)
v1.39.3: Tokio v1.39.3
1.39.3 (August 17th, 2024)
This release fixes a regression where the unix socket api stopped accepting the abstract socket namespace. (#6772)
v1.39.2: Tokio v1.39.2
1.39.2 (July 27th, 2024)
This release fixes a regression where the select! macro stopped accepting expressions that make use of temporary lifetime extension. (#6722)
v1.39.1: Tokio v1.39.1
1.39.1 (July 23rd, 2024)
This release reverts "time: avoid traversing entries in the time wheel twice" because it contains a bug. (#6715)
v1.39.0: Tokio v1.39.0
1.39.0 (July 23rd, 2024)
- This release bumps the MSRV to 1.70. (#6645)
- This release upgrades to mio v1. (#6635)
- This release upgrades to windows-sys v0.52 (#6154)
Added
- io: implement
AsyncSeekforEmpty(#6663) - metrics: stabilize
num_alive_tasks(#6619, #6667) - process: add
Command::as_std_mut(#6608) - sync: add
watch::Sender::same_channel(#6637) - sync: add
{Receiver,UnboundedReceiver}::{sender_strong_count,sender_weak_count}(#6661) - sync: implement
Defaultforwatch::Sender(#6626) - task: implement
CloneforAbortHandle(#6621) - task: stabilize
consume_budget(#6622)
Changed
- io: improve panic message of
ReadBuf::put_slice()(#6629) - io: read during write in
copy_bidirectionalandcopy(#6532) - runtime: replace
num_cpuswithavailable_parallelism(#6709) - task: avoid stack overflow when passing large future to
block_on(#6692) - time: avoid traversing entries in the time wheel twice (#6584)
- time: support
IntoFuturewithtimeout(#6666) - macros: support
IntoFuturewithjoin!andselect!(#6710)
Fixed
- docs: fix docsrs builds with the fs feature enabled (#6585)
- io: only use short-read optimization on known-to-be-compatible platforms (#6668)
- time: fix overflow panic when using large durations with
Interval(#6612)
Added (unstable)
- macros: allow
unhandled_panicbehavior for#[tokio::main]and#[tokio::test](#6593) - metrics: add
spawned_tasks_count(#6114) - metrics: add
worker_park_unpark_count(#6696) - metrics: add worker thread id (#6695)
Documented
- io: update
tokio::io::stdoutdocumentation (#6674) - macros: typo fix in
join.rsandtry_join.rs(#6641) - runtime: fix typo in
unhandled_panic(#6660) - task: document behavior of
JoinSet::try_join_nextwhen all tasks are running (#6671)
v1.38.2: Tokio v1.38.2
This release fixes a soundness issue in the broadcast channel. The channel accepts values that are Send but !Sync. Previously, the channel called clone() on these values without synchronizing. This release fixes the channel by synchronizing calls to .clone() (Thanks Austin Bonander for finding and reporting the issue).
Fixed
- sync: synchronize
clone()call in broadcast channel (#7232)
v1.38.1: Tokio v1.38.1
1.38.1 (July 16th, 2024)
This release fixes the bug identified as (#6682), which caused timers not to fire when they should.
Fixed
- time: update
wake_upwhile holding all the locks of sharded time wheels (#6683)
v1.38.0: Tokio v1.38.0
This release marks the beginning of stabilization for runtime metrics. It
stabilizes RuntimeMetrics::worker_count. Future releases will continue to
stabilize more metrics.
Added
- fs: add
File::create_new(#6573) - io: add
copy_bidirectional_with_sizes(#6500) - io: implement
AsyncBufReadforJoin(#6449) - net: add Apple visionOS support (#6465)
- net: implement
CloneforNamedPipeInfo(#6586) - net: support QNX OS (#6421)
- sync: add
Notify::notify_last(#6520) - sync: add
mpsc::Receiver::{capacity,max_capacity}(#6511) - sync: add
splitmethod to the semaphore permit (#6472, #6478) - task: add
tokio::task::join_set::Builder::spawn_blocking(#6578) - wasm: support rt-multi-thread with wasm32-wasi-preview1-threads (#6510)
Changed
- macros: make
#[tokio::test]append#[test]at the end of the attribute list (#6497) - metrics: fix
blocking_threadscount (#6551) - metrics: stabilize
RuntimeMetrics::worker_count(#6556) - runtime: move task out of the
lifo_slotinblock_in_place(#6596) - runtime: panic if
global_queue_intervalis zero (#6445) - sync: always drop message in destructor for oneshot receiver (#6558)
- sync: instrument
Semaphorefor task dumps (#6499) - sync: use FIFO ordering when waking batches of wakers (#6521)
- task: make
LocalKey::getwork with Clone types (#6433) - tests: update nix and mio-aio dev-dependencies (#6552)
- time: clean up implementation (#6517)
- time: lazily init timers on first poll (#6512)
- time: remove the
true_whenfield inTimerShared(#6563) - time: use sharding for timer implementation (#6534)
Fixed
- taskdump: allow building taskdump docs on non-unix machines (#6564)
- time: check for overflow in
Interval::poll_tick(#6487) - sync: fix incorrect
is_emptyon mpsc block boundaries (#6603)
Documented
- fs: rewrite file system docs (#6467)
- io: fix
stdindocumentation (#6581) - io: fix obsolete reference in
ReadHalf::unsplit()documentation (#6498) - macros: render more comprehensible documentation for
select!(#6468) - net: add missing types to module docs (#6482)
- net: fix misleading
NamedPipeServerexample (#6590) - sync: add examples for
SemaphorePermit,OwnedSemaphorePermit(#6477) - sync: document that
Barrier::waitis not cancel safe (#6494) - sync: explain relation between
watch::Sender::{subscribe,closed}(#6490) - task: clarify that you can't abort
spawn_blockingtasks (#6571) - task: fix a typo in doc of
LocalSet::run_until(#6599) - time: fix test-util requirement for pause and resume in docs (#6503)
Configuration
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.