1d3558cec2
* Update rust bindings * Remove old test vectors * Add #[must_use] in C_KZG_RET to avoid future missing retval checks * Replace expect with unwrap * Fix generate_random_commitment() * Turn some camels to snakes * Capitalize some consts * Improve a bench loop * Kill a useless extern --------- Co-authored-by: George Kadianakis <desnacked@riseup.net> |
||
---|---|---|
.. | ||
benches | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
build.rs |
README.md
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