https://github.com/sb-child/impare
[WIP] file verification and repair tool, written in go and rust
https://github.com/sb-child/impare
par2 parity parity-check reed-solomon reedsolomon
Last synced: about 1 month ago
JSON representation
[WIP] file verification and repair tool, written in go and rust
- Host: GitHub
- URL: https://github.com/sb-child/impare
- Owner: sb-child
- Created: 2024-06-25T07:39:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-05T16:57:54.000Z (over 1 year ago)
- Last Synced: 2025-03-17T07:51:28.828Z (7 months ago)
- Topics: par2, parity, parity-check, reed-solomon, reedsolomon
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# impare (NOT ~~impact~~ ~~淫趴~~)
(WIP)
A file verification and repair tool, written in Rust and Go
## How to build?
Please install the latest `rust` and `go >= 1.22` first.
### Linux
Install C/C++ toolchain first.
```shell
cargo b -r
mv target/release/impare impare
```### Macos
Install C/C++ toolchain first.
```shell
cargo b -r
mv target/release/impare impare
```### Windows
Install `MinGW`:
- Download
- Decompress to a directory
- Add `X:\path\to\directory\mingw64\bin` to your `Path` variableAdd `x86_64-pc-windows-gnu` target:
- `rustup target add x86_64-pc-windows-gnu`
```shell
# git-bashcargo b -r --target=x86_64-pc-windows-gnu
mv target/x86_64-pc-windows-gnu/release/impare.exe impare.exe# or set your default target to x86_64-pc-windows-gnu, then:
cargo b -r
mv target/release/impare.exe impare.exe
```### Note
- Please `regenerate cgo definitions` if there are some errors in `libpare/main.go`
- Cross-compile to `*-musl` is not supported!