Skip to content

Commit 68ef8d8

Browse files
authored
Merge pull request #14 from function-artisans/docs/cargo-install
docs: add the Cargo installation to the README
2 parents d264bba + cb11071 commit 68ef8d8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ $ git-changed -e '**/*.rs' | xargs rustfmt
2929

3030
`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.
3131

32+
## Install with Cargo
33+
34+
Install the tool from [crates.io](https://crates.io/crates/git-changed):
35+
36+
```bash
37+
$ cargo install git-changed
38+
```
39+
3240
## Install with Nix
3341

3442
This project is a Nix flake. It gives you the `git-changed` package, an overlay and an app.

0 commit comments

Comments
 (0)