Amanieu / parking_lot

Compact and efficient synchronization primitives for Rust. Also provides an API for creating custom synchronization primitives.
Apache License 2.0
2.76k stars 217 forks source link

Enable some features for the playground #421

Closed Sky9x closed 1 year ago

Sky9x commented 1 year ago

This will enable some features (arc_lock, serde, and deadlock_detection) on the playground (https://play.rust-lang.org). Feature list was copied from package.metadata.docs.rs, feel free to change if it isn't right.

See https://github.com/rust-lang/rust-playground/issues/192 for more info.

Many other popular crates have done a similar thing (serde, tokio, etc).