- msrv: increase MSRV to 1.70 (#6645)
- macros: allow
unhandled_panic
behavior for#[tokio::main]
and#[tokio::test]
(#6593)
- macros: make
#[tokio::test]
append#[test]
at the end of the attribute list (#6497)
- use
::core
qualified imports instead of::std
insidetokio::test
macro (#5973)
This major release updates the dependency on the syn crate to 2.0.0, and increases the MSRV to 1.56.
As part of this release, we are adopting a policy of depending on a specific minor release of tokio-macros. This prevents Tokio from being able to pull in many different versions of tokio-macros.
- fix a regression introduced in 1.8.1 (#5244)
(yanked)
- macros: Pin Futures in
#[tokio::test]
to stack (#5205) - macros: Reduce usage of last statement spans in proc-macros (#5092)
- macros: Improve the documentation for
#[tokio::test]
(#4761)
- macros: always emit return statement (#4636)
- macros: support setting a custom crate name for
#[tokio::main]
and#[tokio::test]
(#4613)
- macros: address remaining
clippy::semicolon_if_nothing_returned
warning (#4252)
- macros: fix mut patterns in
select!
macro (#4211)
- macros: fix type resolution error in
#[tokio::main]
(#4176)
- macros: make tokio-macros attributes more IDE friendly (#4162)
Reverted: run current_thread
inside LocalSet
(#4027)
(yanked)
- macros: run
current_thread
insideLocalSet
(#4027) - macros: explicitly relaxed clippy lint for
.expect()
in runtime entry macro (#4030)
- macros: fix invalid error messages in functions wrapped with
#[main]
or#[test]
(#4067)
- macros: don't trigger
clippy::unwrap_used
(#3926)
- macros: forward input arguments in
#[tokio::test]
(#3691) - macros: improve diagnostics on type mismatch (#3766)
- macros: various error message improvements (#3677)
- add
start_paused
option to macros (#3492)
- track
tokio
1.0 release.
- fix incorrect docs regarding
max_threads
option (#3038)
- Track
tokio
0.3 release.
- options are renamed to track
tokio
runtime builder fn names. #[tokio::main]
macro requiresrt-multi-thread
when noflavor
is specified.
- doc improvements (#2225).
- generics on
#[tokio::main]
function (#2177).
- support for
tokio::select!
(#2152).
- Revert breaking change.
- inherit visibility when wrapping async fn (#1954).
- Initial release