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

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

mod error;

#[macro_use]
mod validation;

pub mod did;
pub mod keys;
pub mod qualifiable;
pub mod utils;

pub use self::{
    error::{ConversionError, ValidationError},
    qualifiable::Qualifiable,
    validation::Validatable,
};

#[cfg(any(feature = "cl", feature = "cl_native"))]
pub use anoncreds_clsignatures;

#[cfg(feature = "anoncreds")]
/// 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;