Crate

parking_lot

Fast mutex and synchronization primitives for Rust.

What it is

parking_lot provides Mutex, RwLock, Condvar, and Once implementations that outperform std::sync equivalents under most workloads. They use a compact 1-byte Mutex state and a custom thread-parking mechanism that avoids kernel transitions on uncontended paths.

Why it is commonly used

Used in performance-sensitive code with frequent locking — servers, databases, caches, and runtime internals. The parking_lot::Mutex is a near drop-in replacement for std::sync::Mutex with better throughput under contention.

858
Repositories
90%
Actively maintained
769
Updated ≤ 30 days
3.1M
Total stars
761
Owners

Counted from the Cargo.toml manifests of the 858 indexed repositories that declare parking_lot as a dependency — not download counts. Dependency data last verified 2026-08-13.

Browse 858 repositories using parking_lot in Repos →
Often used with

Crates that show up unusually often in parking_lot projects. The most distinctive pairings rank first — crates these projects use far more than the average indexed Rust project does, not just crates that are popular everywhere. Each percentage is the share of parking_lot projects that also use it.

Used by these organizations
50 of 858 repositories · ranked by stars · 769 pushed in the last 30 days
RuView90kactive

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

servo38kactive

Servo aims to empower developers with a lightweight, high-performance alternative for embedding web technologies in applications.

⑂ 3.7k3.1k
qdrant34kactive

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

tokio33kactive

A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

⑂ 3.2k417
rustfs31kactive

🚀2.3x faster than MinIO for 4KB object payloads. RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.

neon23kmaintenance

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.

⑂ 1.1k552
flow22kactive

Adds static typing to JavaScript to improve developer productivity and code quality.

⑂ 1.9k524
← Browse all repos