Cargo Features

[dependencies]
singlefile = { version = "0.2.1", default-features = false, features = ["shared", "shared-async", "deadlock-detection", "tokio-parking-lot"] }
default = tokio-parking-lot

by default, tokio will use parking_lot

shared

Enables parking_lot, parking_lot of optional tokio

Affects singlefile::container_shared

shared-async

Enables sync of tokio

Affects singlefile::container_shared_async

deadlock-detection

enables the deadlock_detection feature for parking_lot, if present

Enables deadlock_detection of optional parking_lot

tokio-parking-lot default

enables the parking_lot feature for tokio, if present

Enables parking_lot of optional tokio