opendevstack / opendevstack/ods-quickstarters

Rust Quickstarter: Replace pre-commit with Rust-based prek

Open
#1,165 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Shell
Stars
39
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
The Rust quickstarter currently uses pre-commit for managing hooks. While stable, it can feel slow and adds Python-based overhead, which is not fully aligned with modern Rust-based development workflows.

Describe the solution you'd like
Replace pre-commit with prek, a lightweight and fast reimplementation written in Rust.
This would improve performance, reduce tooling complexity, and better align with the Rust ecosystem used in the quickstarter

Describe alternatives you've considered
Keeping pre-commit as-is

Additional context
prek is designed as a drop-in reimagining of pre-commit, offering significantly faster execution while maintaining a similar developer experience. This could improve local development speed and CI performance with minimal migration effort.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the Rust quickstarter's pre-commit configuration and CI integration, then review prek's migration guidance. Replace the existing pre-commit usage with prek while preserving the current hook behavior; the work is done when local hooks and CI run successfully without the pre-commit dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, ci-cd, developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.