c-kzg-4844/bindings/rust
Justin Traglia 03b90ef63f
Use Bytes48 for commitments/proofs (#86)
* Start to use bytes48 type

* Update java bindings

* Update variable names

* Update csharp bindings

* Update node.js bindings

* Update python bindings

* Fix mistake in python bindings

* Add new functions

* Fix nit in java bindings

* Update variable names in java bindings

* Compare to point at infinity

* Update bytes_to_bls_field doc

* Add todo

* Do key validation

* Remove bytes_to_g1

* Fix bug & add remark

* Fix memcmp mistake

* Fix nit in nodejs bindings

* Fix another nit

* Update nodejs parameter names

* Remove to_proof() and to_commitment()

* Fix bug
2023-01-26 14:53:30 +00:00
..
benches Bytes-only interface (#62) 2023-01-16 20:05:23 +00:00
src Use Bytes48 for commitments/proofs (#86) 2023-01-26 14:53:30 +00:00
test_vectors Rust bindings (#4) 2023-01-12 17:50:12 +00:00
.gitignore Rust bindings (#4) 2023-01-12 17:50:12 +00:00
Cargo.lock Rust bindings (#4) 2023-01-12 17:50:12 +00:00
Cargo.toml Rust bindings (#4) 2023-01-12 17:50:12 +00:00
README.md Rust bindings (#4) 2023-01-12 17:50:12 +00: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