Tech News
← Back to articles

Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust

read original related products more articles

prek

pre-commit is a framework to run hooks written in many languages, and it manages the language toolchain and dependencies for running the hooks.

prek is a reimagined version of pre-commit, built in Rust. It is designed to be a faster, dependency-free and drop-in alternative for it, while also providing some additional long-requested features.

Note Although prek is pretty new, it’s already powering real‑world projects like CPython, Apache Airflow, FastAPI, and more projects are picking it up—see Who is using prek?. If you’re looking for an alternative to pre-commit , please give it a try—we’d love your feedback! Please note that some languages are not yet supported for full drop‑in parity with pre-commit . See Language Support for current status.

Features

🚀 A single binary with no dependencies, does not require Python or any other runtime.

⚡ Faster than pre-commit and more efficient in disk space usage.

and more efficient in disk space usage. 🔄 Fully compatible with the original pre-commit configurations and hooks.

🏗️ Built-in support for monorepos (i.e. workspace mode).

... continue reading