mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-08 08:14:50 +00:00
* feat: add serde impls to Blob and Bytes48 * remove duplicate serde file * cargo fmt * serialize and deserialize with prefix * cargo fmt * use different trusted setup based on minimal spec * add Bytes32 serde impls
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