Feature Flags
The following feature flags are supported by this crate:
Feature | Description |
---|---|
sync | Support for sync-safe mode of operation |
async | Support for async mode of operation |
tokio-backend | Selects the Tokio backend for async mode. A no-op without the async feature. |
async-lock-backend | Selects the async-lock backend for async mode. A no-op without the async feature. |
async-tokio | Combines async and tokio-backend features. |
async-lock | Combines async and async-lock-backend features. |
clonable-lock | Enables the clonable lock wrapper type. |
send_guard | See corresponding feature of the parking_lot crate |
serde | Enable support for serde marshalling. |
diagnostics | Enable additional diagnostics for compile time errors. Experimental, requires Rust nightly toolset. |