Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
> The main API to interact with the proofs system in [Filecoin](https://filecoin.io).
## Default build options
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
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
For reporting *critical* and *security* bugs, please consult our [Security Policy and Responsible Disclosure Program information](https://github.com/filecoin-project/community/blob/master/SECURITY.md)
## Reporting a non security bug
For non-critical bugs, please simply file a GitHub issue on this repo.