Cargo Features
[dependencies]
singlefile = { version = "0.2.2", default-features = false, features = ["shared", "shared-async", "deadlock-detection", "tokio-parking-lot"] }
- default = tokio-parking-lot
-
by default, tokio will use parking_lot
-
Enables parking_lot, parking_lot of optional tokio
Affects
singlefile::container_shared
… -
Affects
singlefile::container_shared_async
… - deadlock-detection
-
enables the
deadlock_detection
feature for parking_lot, if presentEnables deadlock_detection of optional parking_lot
- tokio-parking-lot default
-
enables the
parking_lot
feature for tokio, if presentEnables parking_lot of optional tokio