ep_core/lib.rs
1// Copyright (c) 2019 Alain Brenzikofer
2// This file is part of Encointer
3//
4// Encointer is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Encointer is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with Encointer. If not, see <http://www.gnu.org/licenses/>.
16
17#![cfg_attr(not(feature = "std"), no_std)]
18
19pub mod bip340;
20pub mod bs58_verify;
21pub mod math;
22pub mod random_number_generator;
23pub mod random_permutation;
24
25#[cfg(feature = "serde_derive")]
26pub mod serde;
27
28pub use fixed;
29
30pub use bs58_verify::*;
31pub use math::*;
32pub use random_number_generator::*;
33pub use random_permutation::*;