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
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) DUSK NETWORK. All rights reserved.

#![doc = include_str!("../README.md")]
#![no_std]

mod keys;
mod signatures;

#[cfg(feature = "alloc")]
pub mod gadgets;

#[deprecated(note = "Please use DoubleSignature instead")]
#[cfg(feature = "double")]
pub type Proof = signatures::SignatureDouble;

pub use keys::public::PublicKey;
pub use keys::secret::SecretKey;
pub use signatures::Signature;

#[cfg(feature = "double")]
pub use keys::public::PublicKeyDouble;
#[cfg(feature = "double")]
pub use signatures::SignatureDouble;

#[cfg(feature = "var_generator")]
pub use keys::public::PublicKeyVarGen;
#[cfg(feature = "var_generator")]
pub use keys::secret::SecretKeyVarGen;
#[cfg(feature = "var_generator")]
pub use signatures::SignatureVarGen;