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
#[cfg(feature = "serde")]
#[macro_use]
extern crate serde;

#[cfg(all(feature = "serde", test))]
#[macro_use]
extern crate serde_json;

#[macro_use]
mod macros;

mod utils {
    pub use indy_utils::base58;
    #[cfg(feature = "hash")]
    pub use indy_utils::hash;
    pub use indy_utils::{qualifiable, Qualifiable};
}

pub use indy_utils::did;
pub use indy_utils::keys;
pub use indy_utils::{invalid, ConversionError, Validatable, ValidationError};

#[cfg(any(feature = "cl", feature = "cl_native", feature = "hash"))]
pub use indy_utils::ursa;

/// Type definitions related Indy credential issuance and verification
pub mod anoncreds;

#[cfg(feature = "merkle_tree")]
/// Patricia Merkle tree support
pub mod merkle_tree;

mod identifiers;

pub use identifiers::cred_def::*;
pub use identifiers::rev_reg::*;
pub use identifiers::schema::*;

#[cfg(any(feature = "rich_schema", test))]
pub use identifiers::rich_schema::*;

pub use identifiers::DELIMITER as IDENT_DELIMITER;