Add `cargo install` instructions to README (#105)

This commit is contained in:
Robin Avery 2024-09-09 21:38:06 -04:00 committed by GitHub
parent 56a5a61825
commit 199c07e975
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

View File

@ -164,6 +164,17 @@ $ cd objdiff
$ cargo run --release $ cargo run --release
``` ```
Or using `cargo install`.
```shell
$ cargo install --git https://github.com/encounter/objdiff.git objdiff-gui
# or, for wgpu backend (recommended on macOS)
$ cargo install --git https://github.com/encounter/objdiff.git objdiff-gui --features wgpu
# then run objdiff
$ objdiff
```
## License ## License
Licensed under either of Licensed under either of