Divma f384175810
Reproducible rust bindings (#243)
* 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
2023-03-27 23:47:24 +09:00
..
2023-03-27 23:47:24 +09:00
2023-03-27 23:47:24 +09:00
2023-03-27 23:47:24 +09:00
2023-03-27 23:47:24 +09:00
2023-03-27 23:47:24 +09:00
2023-02-23 17:53:08 +02:00

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