starkware-crypto-sys

Crates.iostarkware-crypto-sys
lib.rsstarkware-crypto-sys
version0.1.3
sourcesrc
created_at2022-01-10 09:11:04.10656
updated_at2022-01-12 09:29:07.742636
descriptionRust FFI bindings for StarkWare's crypto-cpp library
homepagehttps://github.com/xJonathanLEI/starkware-crypto-rs
repositoryhttps://github.com/xJonathanLEI/starkware-crypto-rs
max_upload_size
id511286
size379,208
Jonathan LEI (xJonathanLEI)

documentation

https://docs.rs/starkware-crypto-sys

README

starkware-crypto-rs

Rust FFI bindings for StarkWare's crypto-cpp library

linting-badge tests-badge crates-badge

Note that currently target x86_64-pc-windows-msvc is not supported. If you're building on Windows, you need to use the GNU build of Rust.

Adding starkware-crypto-rs to your project

To use the crate from crates.io, add the following to your Cargo.toml file:

[dependencies]
starkware-crypto-sys = "0.1"

Running benchmark

To run benchmark:

$ cargo bench

On the author's machine, the results are:

pedersen_hash           time:   [267.08 us 270.36 us 274.40 us]

License

Licensed under either of

at your option.

Commit count: 21

cargo fmt