2017-01-25 18:51:41 +01:00
|
|
|
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
|
2016-06-20 10:06:49 +02:00
|
|
|
// This file is part of Parity.
|
|
|
|
|
|
|
|
// Parity is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
|
|
|
// Parity is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2016-06-20 00:10:34 +02:00
|
|
|
#![cfg_attr(feature="nightly", feature(custom_derive, plugin))]
|
|
|
|
#![cfg_attr(feature="nightly", plugin(serde_macros))]
|
|
|
|
|
|
|
|
extern crate libc;
|
2016-08-10 17:57:40 +02:00
|
|
|
extern crate itertools;
|
2017-01-30 11:44:09 +01:00
|
|
|
extern crate smallvec;
|
2016-06-20 00:10:34 +02:00
|
|
|
extern crate rand;
|
2016-07-25 10:45:45 +02:00
|
|
|
extern crate time;
|
2016-06-20 00:10:34 +02:00
|
|
|
extern crate serde;
|
|
|
|
extern crate serde_json;
|
|
|
|
extern crate rustc_serialize;
|
|
|
|
extern crate crypto as rcrypto;
|
|
|
|
extern crate tiny_keccak;
|
2016-10-25 22:34:52 +02:00
|
|
|
extern crate parking_lot;
|
2017-02-05 16:17:56 +01:00
|
|
|
extern crate ethcore_devtools as devtools;
|
2016-10-25 22:34:52 +02:00
|
|
|
|
2016-06-20 00:10:34 +02:00
|
|
|
// reexport it nicely
|
|
|
|
extern crate ethkey as _ethkey;
|
2016-08-24 18:35:21 +02:00
|
|
|
extern crate ethcrypto as crypto;
|
2017-01-30 11:44:09 +01:00
|
|
|
extern crate ethcore_util as util;
|
2016-06-20 00:10:34 +02:00
|
|
|
|
2016-12-20 16:34:53 +01:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
|
|
|
|
2016-10-25 22:34:52 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
|
|
|
|
2016-06-20 00:10:34 +02:00
|
|
|
pub mod dir;
|
|
|
|
pub mod ethkey;
|
|
|
|
|
|
|
|
mod account;
|
|
|
|
mod json;
|
|
|
|
|
|
|
|
mod error;
|
|
|
|
mod ethstore;
|
|
|
|
mod import;
|
2016-06-21 14:42:27 +02:00
|
|
|
mod presale;
|
2016-06-20 00:10:34 +02:00
|
|
|
mod random;
|
|
|
|
mod secret_store;
|
|
|
|
|
2017-01-30 11:44:09 +01:00
|
|
|
pub use self::account::{SafeAccount};
|
2016-06-20 00:10:34 +02:00
|
|
|
pub use self::error::Error;
|
2016-11-30 15:08:38 +01:00
|
|
|
pub use self::ethstore::{EthStore, EthMultiStore};
|
2016-08-11 18:31:28 +02:00
|
|
|
pub use self::import::{import_accounts, read_geth_accounts};
|
2016-06-21 14:42:27 +02:00
|
|
|
pub use self::presale::PresaleWallet;
|
2017-01-30 11:44:09 +01:00
|
|
|
pub use self::secret_store::{SecretVaultRef, StoreAccountRef, SimpleSecretStore, SecretStore};
|
2016-11-30 15:08:38 +01:00
|
|
|
pub use self::random::{random_phrase, random_string};
|