crypto/bls: make blst dependency optional (#3387)

## Issue Addressed

#3386 

## Proposed Changes

* make `blst` crate `optional`
* include `blst` dependency into `supranational` feature
* hide `blst`-related code with `supranational` feature

Co-authored-by: Kirill <kirill@aurora.dev>
This commit is contained in:
Kirill
2022-08-08 23:56:59 +00:00
parent 6bc4a2cc91
commit aba5225147
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
#[cfg(feature = "supranational")]
pub mod blst;
pub mod fake_crypto;
#[cfg(feature = "milagro")]