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.

321
Repositories
2.7M
Total stars
464
Active
452
Owners
Browse 515 repositories using parking_lot in Repos →
Often used with
Used by these organizations
50 of 515 repositories · ranked by stars
rustdesk116kactive

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

zed85kactive

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

RuView72kactive

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

⑂ 9.6k193
starship58kactive

☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

⑂ 2.5k1.0k
typst54kactive

A markup-based typesetting system that is powerful and easy to learn.

⑂ 1.6k1.2k
tokio32kactive

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

⑂ 3.1k433
qdrant32kactive

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/

zeroclaw32kactive

Fast, small, and fully autonomous AI personal assistant infrastructure, any OS, any platform — deploy anywhere, swap anything 🦀

Antigravity-Manager30kactive

Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。

⑂ 3.2k1.7k
egui29kactive

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

⑂ 2.0k1.1k
rustfs29kactive

🚀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.

wezterm27kactive

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

⑂ 1.5k1.7k
biome25kactive

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.

flow22kactive

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

⑂ 1.9k604
gitbutler21kactive

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte

⑂ 951663
turso19kactive

Turso is an in-process SQL database, compatible with SQLite.

⑂ 1.0k695
relay19kactive

Relay is a JavaScript framework for building data-driven React applications.

⑂ 1.9k842
← Browse all repos