#encoding-decoding #reed-solomon #erasure #codes #unique #blockchain

ekzg-erasure-codes

This crate provides an implementation of erasure encoding and decoding

7 unstable releases (3 breaking)

0.10.0 Oct 27, 2025
0.9.1 Sep 24, 2025
0.8.1 Aug 30, 2025
0.8.0 Jul 22, 2025
0.7.1 Jun 2, 2025

#14 in #erasure

Download history 2168/week @ 2025-09-17 2623/week @ 2025-09-24 2059/week @ 2025-10-01 2969/week @ 2025-10-08 3809/week @ 2025-10-15 3232/week @ 2025-10-22 3233/week @ 2025-10-29 2549/week @ 2025-11-05 1821/week @ 2025-11-12 1495/week @ 2025-11-19 2754/week @ 2025-11-26 2434/week @ 2025-12-03 2334/week @ 2025-12-10 1692/week @ 2025-12-17 542/week @ 2025-12-24 934/week @ 2025-12-31

5,957 downloads per month
Used in rust_eth_kzg

MIT license

140KB
2K SLoC

Erasure Codes

Overview

This crate provides a Rust API for Erasure codes. It uses Reed solomon encoding, however the decoding algorithm and the API in general is tailored the particular use case of Data Availability sampling in the Ethereum Blockchain. It is not a general purpose crate for unique decoding.

Installation

It is not advised to install this crate as part of an independent project. It is only published to crates.io so that we can publish the eip7594 crate to crates.io. Nevertheless, installation of this crate can be done by adding this to your Cargo.toml:

[dependencies]
ekzg-erasure-codes = "0.1.0"

Dependencies

~3.5–4.5MB
~159K SLoC