|
24 | 24 | //! This crate provides a number of feature flags that enable compatibility |
25 | 25 | //! features with other crates in the asynchronous ecosystem: |
26 | 26 | //! |
27 | | -//! - `tokio`: Enables compatibility with the `tokio` crate, including |
| 27 | +//! - `tokio`: Enables compatibility with the `tokio` 0.1 crate, including |
28 | 28 | //! [`Instrument`] and [`WithCollector`] implementations for |
29 | 29 | //! `tokio::executor::Executor`, `tokio::runtime::Runtime`, and |
30 | | -//! `tokio::runtime::current_thread`. Enabled by default. |
| 30 | +//! `tokio::runtime::current_thread`. This is not needed for compatibility |
| 31 | +//! with `tokio` v1. |
31 | 32 | //! - `tokio-executor`: Enables compatibility with the `tokio-executor` |
32 | 33 | //! crate, including [`Instrument`] and [`WithCollector`] |
33 | 34 | //! implementations for types implementing `tokio_executor::Executor`. |
|
39 | 40 | //! crate. |
40 | 41 | //! - `futures-03`: Enables compatibility with version 0.3.x of the `futures` |
41 | 42 | //! crate's `Spawn` and `LocalSpawn` traits. |
42 | | -//! - `tokio-alpha`: Enables compatibility with `tokio` 0.2's alpha releases, |
43 | | -//! including the `tokio` 0.2 `Executor` and `TypedExecutor` traits. |
44 | 43 | //! - `std`: Depend on the Rust standard library. |
45 | 44 | //! |
46 | 45 | //! `no_std` users may disable this feature with `default-features = false`: |
|
50 | 49 | //! tracing-futures = { version = "0.2.3", default-features = false } |
51 | 50 | //! ``` |
52 | 51 | //! |
53 | | -//! The `tokio`, `std-future` and `std` features are enabled by default. |
| 52 | +//! The `std-future` and `std` features are enabled by default. |
54 | 53 | //! |
55 | 54 | //! [`tracing`]: https://crates.io/crates/tracing |
56 | 55 | //! [span]: mod@tracing::span |
|
0 commit comments