indy_data_types/
lib.rs

1#[cfg(feature = "serde")]
2#[macro_use]
3extern crate serde;
4
5#[cfg(all(feature = "serde", test))]
6#[macro_use]
7extern crate serde_json;
8
9mod error;
10
11#[macro_use]
12mod validation;
13
14pub mod did;
15pub mod keys;
16pub mod qualifiable;
17pub mod utils;
18
19pub use self::{
20    error::{ConversionError, ValidationError},
21    qualifiable::Qualifiable,
22    validation::Validatable,
23};
24
25#[cfg(any(feature = "cl", feature = "cl_native"))]
26pub use anoncreds_clsignatures;
27
28#[cfg(feature = "anoncreds")]
29/// Type definitions related Indy credential issuance and verification
30pub mod anoncreds;
31
32#[cfg(feature = "merkle_tree")]
33/// Patricia Merkle tree support
34pub mod merkle_tree;
35
36mod identifiers;
37
38pub use identifiers::cred_def::*;
39pub use identifiers::rev_reg::*;
40pub use identifiers::schema::*;
41
42#[cfg(any(feature = "rich_schema", test))]
43pub use identifiers::rich_schema::*;
44
45pub use identifiers::DELIMITER as IDENT_DELIMITER;