librustzcash/zcash_primitives/src/lib.rs

23 lines
407 B
Rust
Raw Normal View History

2018-08-23 15:35:39 -07:00
#[macro_use]
extern crate lazy_static;
2018-08-23 15:37:23 -07:00
extern crate blake2_rfc;
extern crate byteorder;
extern crate ff;
2018-10-11 15:16:48 -07:00
extern crate hex;
2018-08-23 15:35:39 -07:00
extern crate pairing;
extern crate rand;
2018-08-23 15:35:39 -07:00
extern crate sapling_crypto;
2018-12-03 04:54:11 -08:00
extern crate sha2;
2018-08-23 15:35:39 -07:00
use sapling_crypto::jubjub::JubjubBls12;
2018-10-11 15:14:46 -07:00
pub mod block;
pub mod sapling;
mod serialize;
2018-08-23 15:35:39 -07:00
pub mod transaction;
lazy_static! {
pub static ref JUBJUB: JubjubBls12 = { JubjubBls12::new() };
2018-08-23 15:35:39 -07:00
}