prek
⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.
Library git git-hooks pre-commit
Minimal
Install package
Latest min add prek - Source archive SHA256
- 1fe32ea1…3551
- Spec hash
- afe15d86…4550
- Target
- amd64/linux
- Needs network
- No
- Closed source
- No
What is prek?
⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.
How to use this package
Quick install
Installs the package into the current environment for this session. Use --build or --runtime to persist it as a build-time or runtime dependency.
min add prek Declare as a task dependency in minimal.toml
Listing the package under tasks.<name>.packages makes it available inside that task’s sandbox.
[tasks.dev]
packages = ["prek"] Build-time vs runtime
Choose build-time for tools needed during compilation, runtime for dynamic libraries loaded at runtime.
min add --build prek
min add --runtime prek