|
320 | 320 | //! Beware though that this will pull in many extra dependencies that you may not |
321 | 321 | //! need. |
322 | 322 | //! |
323 | | -//! - `full`: Enables all features listed below except `test-util` and `tracing`. |
| 323 | +//! - `full`: Enables all features listed below except `test-util` and unstable features. |
324 | 324 | //! - `rt`: Enables `tokio::spawn`, the current-thread scheduler, |
325 | 325 | //! and non-scheduler utilities. |
326 | 326 | //! - `rt-multi-thread`: Enables the heavier, multi-threaded, work-stealing scheduler. |
|
330 | 330 | //! `UdpSocket`, as well as (on Unix-like systems) `AsyncFd` and (on |
331 | 331 | //! FreeBSD) `PollAio`. |
332 | 332 | //! - `time`: Enables `tokio::time` types and allows the schedulers to enable |
333 | | -//! the built in timer. |
| 333 | +//! the built-in timer. |
334 | 334 | //! - `process`: Enables `tokio::process` types. |
335 | 335 | //! - `macros`: Enables `#[tokio::main]` and `#[tokio::test]` macros. |
336 | 336 | //! - `sync`: Enables all `tokio::sync` types. |
|
351 | 351 | //! Some feature flags are only available when specifying the `tokio_unstable` flag: |
352 | 352 | //! |
353 | 353 | //! - `tracing`: Enables tracing events. |
| 354 | +//! - `io-uring`: Enables `io-uring` (Linux only). |
| 355 | +//! - `taskdump`: Enables `taskdump` (Linux only). |
354 | 356 | //! |
355 | | -//! Likewise, some parts of the API are only available with the same flag: |
356 | | -//! |
357 | | -//! - [`task::Builder`] |
358 | | -//! - Some methods on [`task::JoinSet`] |
359 | | -//! - [`runtime::RuntimeMetrics`] |
360 | | -//! - [`runtime::Builder::on_task_spawn`] |
361 | | -//! - [`runtime::Builder::on_task_terminate`] |
362 | | -//! - [`runtime::Builder::unhandled_panic`] |
363 | | -//! - [`runtime::TaskMeta`] |
| 357 | +//! Likewise, this flag enables access to unstable APIs. |
364 | 358 | //! |
365 | 359 | //! This flag enables **unstable** features. The public API of these features |
366 | 360 | //! may break in 1.x releases. To enable these features, the `--cfg |
|
0 commit comments