From cb110715bc8d51d11203fb7cea8f0972ba7ac952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KARASZI=20Istv=C3=A1n?= Date: Fri, 13 Nov 2026 20:23:44 +0100 Subject: [PATCH] Add the Cargo installation to the README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 262ea77..0bb4a99 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,14 @@ $ git-changed -e '**/*.rs' | xargs rustfmt `git-changed` does not run commands and does not manage hooks. It only lists the files, so you can use it in a terminal, in a hook, or in CI. +## Install with Cargo + +Install the tool from [crates.io](https://crates.io/crates/git-changed): + +```bash +$ cargo install git-changed +``` + ## Install with Nix This project is a Nix flake. It gives you the `git-changed` package, an overlay and an app.