Crates.io | cess-proving-system-api |
lib.rs | cess-proving-system-api |
version | 0.1.2 |
source | src |
created_at | 2021-11-23 09:03:25.619096 |
updated_at | 2022-02-23 11:59:21.983398 |
description | API to interact with the proofs system in CESS |
homepage | |
repository | https://github.com/CESSProject/cess-proving-system-api |
max_upload_size | |
id | 486150 |
size | 94,693 |
Forked from Filecoin rust-filecoin-proofs-api
This library is meant to be the official public API into the proofs library.
The main API to interact with the proofs system in CESS.
The build options enabled by default are pairing
and gpu
. An alternative backend that can be used is blst
. The pairing
and blst
options specify which bls12-381 pairing library to use..
Running the tests with the default features can be done like this:
cargo test --release --all
Running with the blst
and gpu
features can be done like this:
cargo test --no-default-features --features blst,gpu --release --all
Running with pairing
and without the gpu
feature can be done like this:
cargo test --no-default-features --features pairing --release --all
MIT or Apache 2.0