mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-03 22:05:17 +00:00
f384175810
* modify directory structure to isolate the generated bindings * add a lib.rs file * move deref impls to the extension file * remove unused types from generated bindings * cleanup new lines to reduce diff noise * reorder definitions to reduce diff noise * move sync and send impls to the extension file * generate bindings * blacklist used bindings; create snapshots dir to ensure freshness in the future * fix typo. Ty @pawanjay176 * run cargo build after merge * custom impl for KZGCommitment and KZGProof * final touches
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