librustzcash/zcash_primitives/src/lib.rs

29 lines
514 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 crypto_api_chachapoly;
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 keys;
2018-10-19 13:50:49 -07:00
pub mod note_encryption;
pub mod sapling;
mod serialize;
2018-08-23 15:35:39 -07:00
pub mod transaction;
2018-11-14 04:39:26 -08:00
#[cfg(test)]
mod test_vectors;
2018-08-23 15:35:39 -07:00
lazy_static! {
pub static ref JUBJUB: JubjubBls12 = { JubjubBls12::new() };
2018-08-23 15:35:39 -07:00
}