Skip to content

Commit

Permalink
include tokio version dependency for task future sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
hds committed Oct 8, 2024
1 parent cd83fbc commit 39ea7a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions console-subscriber/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ Other instrumentation is added in later Tokio releases:

* [Tokio v1.21.0] or later is required to use newest `task::Builder::spawn*` APIs.

* [Tokio v1.41.0] (as yet unreleased) or later is required for task future sizes and the related
tokio-console lints `auto-boxed-future` and `large-future`.

[Tokio v1.0.0]: https://github.com/tokio-rs/tokio/releases/tag/tokio-1.0.0
[Tokio v1.7.0]: https://github.com/tokio-rs/tokio/releases/tag/tokio-1.7.0
[Tokio v1.12.0]:https://github.com/tokio-rs/tokio/releases/tag/tokio-1.12.0
Expand All @@ -147,6 +150,7 @@ Other instrumentation is added in later Tokio releases:
[init]: https://docs.rs/console-subscriber/latest/console_subscriber/fn.init.html
[compile_time_filters]: https://docs.rs/tracing/latest/tracing/level_filters/index.html#compile-time-filters
[Tokio v1.21.0]: https://github.com/tokio-rs/tokio/releases/tag/tokio-1.21.0
[Tokio v1.41.0]: https://github.com/tokio-rs/tokio/releases/tag/tokio-1.41.0

### Adding the Console Subscriber

Expand Down

0 comments on commit 39ea7a9

Please sign in to comment.