1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * lib.rs
 *
 * Copyright 2018 Standard Mining
 *
 * Available to be used and modified under the terms of the MIT License.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

#![deny(missing_debug_implementations, missing_docs)]
#![warn(missing_docs)]
#![allow(unknown_lints)]

//! A Rust library to generate various cryptocurrency wallets.
//!
//! Enable the `serde` feature to add `#[derive(Serialize, Deserialize)]`
//! to structures and naming to [`Coin`].
//!
//! [`Coin`]: coin/enum.Coin.html

extern crate arrayvec;
extern crate base58;
extern crate digest;
extern crate either;

#[macro_use]
extern crate lazy_static;
extern crate openssl;
extern crate safemem;
extern crate tiny_keccak;

#[cfg(feature = "serde")]
#[macro_use]
extern crate serde;

pub mod bitcoin;
pub mod coin;
pub mod cryptonote;
pub mod ed25519;
pub mod error;
pub mod ethereum;
pub mod hex_slice;
pub mod prelude;
pub mod wallet;