[package]
edition = "2024"
rust-version = "1.95"
name = "rusty_erasure"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Intel ISA-L's erasure coding, remade with Rust: matrix-flexible GF(2^8) Reed-Solomon encode, incremental update and first-class recovery, plus RAID-6 P+Q. Byte-identical to ISA-L, faster than its AVX2-GFNI assembly, validated parameters instead of undefined behaviour. No C, no NASM, no GPL. MIT OR Apache-2.0."
homepage = "https://www.mata.network/"
documentation = "https://docs.rs/rusty_erasure"
readme = "README.md"
keywords = [
"erasure-coding",
"reed-solomon",
"raid",
"storage",
"isa-l",
]
categories = [
"algorithms",
"encoding",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/remade-with-rust/rusty_erasure"
resolver = "2"
[features]
accel = ["dep:rusty_erasure-accel"]
default = ["accel"]
[lib]
name = "rusty_erasure"
path = "src/lib.rs"
[[test]]
name = "fullgrid"
path = "tests/fullgrid.rs"
[[test]]
name = "isal_suite"
path = "tests/isal_suite.rs"
[[test]]
name = "klauspost_compat"
path = "tests/klauspost_compat.rs"
[[test]]
name = "raid_dispatch"
path = "tests/raid_dispatch.rs"
[dependencies.rusty_erasure-accel]
version = "0.4.0"
optional = true
[dependencies.rusty_erasure-core]
version = "0.4.0"
[dev-dependencies.reed-solomon-erasure]
version = "6"
[lints.clippy]
undocumented_unsafe_blocks = "deny"
[lints.rust]
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]