You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib.rs
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,15 @@
64
64
//! By default the crate uses [parking_lot](https://crates.io/crates/parking_lot), which is enabled (by default) via
65
65
//! a crate feature with the same name. If the `parking_lot` feature is disabled the crate defaults to the std lib
66
66
//! implementation instead.
67
+
//!
68
+
//! # Cargo Features
69
+
//!
70
+
//! | Feature | Default | Description |
71
+
//! |---------|---------|-------------|
72
+
//! | `ahash` | ✓ | Use [ahash](https://crates.io/crates/ahash) as the default hasher. When disabled, falls back to std lib's `RandomState` (currently SipHash-1-3). |
73
+
//! | `parking_lot` | ✓ | Use [parking_lot](https://crates.io/crates/parking_lot) for synchronization primitives. When disabled, falls back to std lib's `RwLock`. |
74
+
//! | `shuttle` | | Enable [shuttle](https://crates.io/crates/shuttle) testing support for concurrency testing. |
75
+
//! | `stats` | | Enable cache statistics tracking via the `hits()` and `misses()` methods. |
0 commit comments