Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

cargo-husky

Free#16 of 26 in Git Hooks Management Tools

cargo-husky: A free, cross-platform way to enforce Cargo checks across Rust workspaces. Ranked #16 of 26 in Git Hooks Management Tools by our editors (6.6/10); pricing: Free plan; best for cargo workspaces enforcing Rust checks.

6.6/10Editor score
cargo-husky6.6 Visit cargo-husky

At a glance

  • Editor score
    6.6 / 10
  • Pricing
    Free plan
  • Best for
    Cargo workspaces enforcing Rust checks
  • Free plan
    Yes
  • Paid from
    Free
  • Hook stages
    All
  • Facts checked
    20 Oct 2026
  • Where it wins

    • Automatically creates Git hooks when cargo test runs
    • Workspace-wide execution with run-for-all
    • Supports test, check, clippy, fmt, and custom hooks
  • Where it doesn't

    • Focused on Cargo-managed Rust projects
    • Hook generation is tied to cargo test execution
    • Repository metadata describes the project as passively maintained

Our verdict on cargo-husky

cargo-husky is an open-source Rust crate for Cargo-managed projects that installs Git hook scripts automatically when tests run. Its default pre-push hook runs cargo test, while optional pre-commit and post-merge hooks can add checks at other stages. The fit is strongest for solo developers and teams maintaining Rust repositories, especially Cargo workspaces that want consistent local enforcement across packages.

The project is free and open source, with no paid tiers described. Its ecosystem fit is direct: Cargo handles project commands and Git supplies the hook lifecycle. Optional commands include cargo check, clippy, and fmt, allowing teams to align hooks with common Rust validation steps. The run-for-all feature extends execution across a workspace, while custom hooks stored in .cargo-husky/hooks provide a path for repository-specific actions. An environment variable can disable installation when a workflow requires it, and the tool detects existing hooks and package-version updates.

cargo-husky suits repositories that want convention-driven hook setup without maintaining scripts manually for each package. It is less suitable for teams managing multiple languages or seeking a general-purpose Git hook manager independent of Cargo. Hook creation depends on cargo test running, so teams should account for that lifecycle when onboarding contributors or preparing automated environments. The published project description covers development on macOS and testing across Linux, macOS, and Windows, giving it cross-platform reach. Teams should also weigh the repository’s passively maintained status when evaluating long-term ownership and support expectations.

Your product? Our editors can test cargo-husky in depth and publish a review, labelled as paid · from $99/mo →

cargo-husky pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

cargo-husky fact sheet

Free planYes
Paid fromFree
Hook stagesAll
Shared configurationYes
Monorepo supportYes
CI executionNot verified
Package manager integrationYes
Platform supportCross-platform
DeploymentDesktop
PlatformsWindows, macOS, Linux
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations2 integrations: Cargo, Git
PricingFree plan
Websitegithub.com
Facts checked20 Oct 2026

cargo-husky integrations

cargo-husky lists 2 integrations on its own site.

  • Cargo
  • Git

Alternatives to cargo-husky

See all cargo-husky alternatives →

Used cargo-husky? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used cargo-husky for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — cargo-husky 6.6/10

cargo-husky is listed in our Git Hooks Management Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/cargo-husky/"><img src="https://www.itechguides.com/best/badge/cargo-husky.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update