c-kzg-4844/bindings/rust
Justin Traglia 2913b5ab31
Fix rust benchmarks (#258)
* Fix rust benchmarks

* Use iter_batched_ref for true benchmarks

* Remove unused import

* Update BatchSize & add throughput measurements

* Remove "cargo clean" from CI checks

* Run release tests after minimal tests
2023-03-29 15:59:52 +09:00
..
benches Fix rust benchmarks (#258) 2023-03-29 15:59:52 +09:00
snapshots Reproducible rust bindings (#243) 2023-03-27 23:47:24 +09:00
src Reproducible rust bindings (#243) 2023-03-27 23:47:24 +09:00
.gitignore Reproducible rust bindings (#243) 2023-03-27 23:47:24 +09:00
Cargo.lock Reproducible rust bindings (#243) 2023-03-27 23:47:24 +09:00
Cargo.toml Reproducible rust bindings (#243) 2023-03-27 23:47:24 +09:00
README.md Add bindings to readme (#154) 2023-02-23 17:53:08 +02:00
build.rs Reproducible rust bindings (#243) 2023-03-27 23:47:24 +09:00

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