Skip to content

Commit

Permalink
doc: update parking_lot info in feature list (#5215)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn committed Nov 21, 2022
1 parent 2682c50 commit 6a2cd9a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions tokio/src/lib.rs
Expand Up @@ -328,20 +328,15 @@
//! - `signal`: Enables all `tokio::signal` types.
//! - `fs`: Enables `tokio::fs` types.
//! - `test-util`: Enables testing based infrastructure for the Tokio runtime.
//! - `parking_lot`: As a potential optimization, use the _parking_lot_ crate's
//! synchronization primitives internally. Also, this
//! dependency is necessary to construct some of our primitives
//! in a const context. MSRV may increase according to the
//! _parking_lot_ release in use.
//!
//! _Note: `AsyncRead` and `AsyncWrite` traits do not require any features and are
//! always available._
//!
//! ### Internal features
//!
//! These features do not expose any new API, but influence internal
//! implementation aspects of Tokio, and can pull in additional
//! dependencies.
//!
//! - `parking_lot`: As a potential optimization, use the _parking_lot_ crate's
//! synchronization primitives internally. MSRV may increase according to the
//! _parking_lot_ release in use.
//!
//! ### Unstable features
//!
//! Some feature flags are only available when specifying the `tokio_unstable` flag:
Expand Down

0 comments on commit 6a2cd9a

Please sign in to comment.