Any good alternative to husky in rust to enforce and write conventional commits and for pre-commit source code linting??

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rusty-hook

    git hook manager, geared toward Rust projects

  • crates.io

    The Rust package registry

  • I was looking into this as well. I've successfully used rusty-hook for wiring up pre-commit/pre-push hooks. But I need help finding a tool allowing me to run conventional commits locally while limiting the toolset within reach of crates.io.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • git-hooks.nix

    Seamless integration of https://pre-commit.com git hooks with Nix.

  • Anyone who already uses Nix and Flakes can use this integration. Anyone who doesn't use Nix can just ignore me, because I'm not here to try converting unconvinced folks.

  • precious

    One code quality tool to rule them all

  • It doesn't do commit message checking but if you want to do linting on commit I wrote a tool called precious. It lets you configure any number of tidiers and linters for your project in a single file. It's written in Rust, but it can be used for projects in any language.

  • cargo-husky

    Setup Git hooks automatically for cargo projects with :dog:

  • I'm surprised no one has mentioned yet cargo-husky unless this the husky to which an alternative is being looked for. Thinking about it once more, the post could be interpreted either way.

  • pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

  • committed

    Nitpicking commit history since beabf39

  • I use https://github.com/crate-ci/committed and pre-commit (the python app)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • husky

    Git hooks made easy 🐶 woof!

  • It is not wild at all. Check out husky, the most popular tool for git hooks. The recommended way to use it is by running npx husky-init, which registers a pre-commit hook that by default runs npm test whenever you commit.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts