An open API service indexing awesome lists of open source software.

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

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` variable

Add `x86_64-pc-windows-gnu` target:

- `rustup target add x86_64-pc-windows-gnu`

```shell
# git-bash

cargo 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!