mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-22 16:08:49 +00:00
572507ce77
* Allow bad input values in rust tests * Clean up a little * Re-enable feature checks & consolidate * Use more pattern matching * Consolidate imports * Split some long lines into shorter ones * Clean up test loops * Simplify get_output() for some funcs
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