mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-24 00:49:30 +00:00
6b2ee20102
* Add bindings section to readme * Reorganize a little bit * Remove extra blank lines
25 lines
326 B
Markdown
25 lines
326 B
Markdown
# 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
|
|
```
|