[package]
edition = "2024"
rust-version = "1.85"
name = "rust-par2"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust PAR2 verify and repair with SIMD-accelerated Galois field arithmetic"
readme = "README.md"
keywords = [
"par2",
"parity",
"reed-solomon",
"error-correction",
"repair",
]
categories = [
"algorithms",
"filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AusAgentSmith-org/rust-par2"
[lib]
name = "rust_par2"
path = "src/lib.rs"
[[example]]
name = "debug_repair"
path = "examples/debug_repair.rs"
[[example]]
name = "microbench"
path = "examples/microbench.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "gf_spec_compliance"
path = "tests/gf_spec_compliance.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "reed_solomon"
path = "tests/reed_solomon.rs"
[[test]]
name = "repair_scenarios"
path = "tests/repair_scenarios.rs"
[[test]]
name = "simd_correctness"
path = "tests/simd_correctness.rs"
[dependencies.crc32fast]
version = "1"
[dependencies.md-5]
version = "0.11"
[dependencies.rayon]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.rand]
version = "0.10"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unused = "warn"
[profile.release]
lto = "fat"
codegen-units = 1