mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-11 01:26:41 +00:00
* Update Compute*KZGProof in rust bindings * Remove the boxing from the blobs and implement get_blobs() a bit less promiscuously * Improve pattern matching style * Run `cargo fmt` * Remove a println * No need to clone commitments
Rust bindings
Generates the rust bindings for the c-kzg library.
Build
cargo build --release
Build with --features="minimal-spec"
to set the FIELD_ELEMENTS_PER_BLOB
compile time parameter to the pre-determined minimal spec value.
Test
cargo test --release
Benchmark
cargo bench