c-kzg-4844/bindings/rust
Justin Traglia 572507ce77
Allow invalid length inputs in rust tests (#171)
* 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
2023-03-06 11:52:36 +02:00
..
benches Update rust bindings to support YAML ref tests (#164) 2023-03-03 16:01:56 -07:00
src Allow invalid length inputs in rust tests (#171) 2023-03-06 11:52:36 +02:00
.gitignore Rust bindings (#4) 2023-01-12 17:50:12 +00:00
Cargo.lock Update rust bindings to support YAML ref tests (#164) 2023-03-03 16:01:56 -07:00
Cargo.toml Update rust bindings to support YAML ref tests (#164) 2023-03-03 16:01:56 -07:00
README.md Add bindings to readme (#154) 2023-02-23 17:53:08 +02:00
build.rs Rust bindings (#4) 2023-01-12 17:50:12 +00: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