feat: Enable hardware-lock-elision and deadlock_detection

This commit is contained in:
Jade Ellis 2025-07-19 23:32:18 +01:00
commit f593cac58a
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
2 changed files with 30 additions and 0 deletions

View file

@ -517,6 +517,7 @@ version = "1.0"
[workspace.dependencies.parking_lot]
version = "0.12.4"
features = ["hardware-lock-elision", "deadlock_detection"] # TODO: Check if deadlock_detection has a perf impact, if it does only enable with debug_assertions
# Use this when extending with_lock::WithLock to parking_lot
[workspace.dependencies.lock_api]