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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! Secure storage designed for Hyperledger Aries agents

#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]

#[macro_use]
mod error;
pub use self::error::{Error, ErrorKind};

#[macro_use]
mod macros;

#[cfg(any(test, feature = "log"))]
#[macro_use]
extern crate log;

#[macro_use]
extern crate serde;

#[cfg(any(feature = "postgres", feature = "sqlite"))]
mod db_utils;

#[doc(hidden)]
pub mod future;

#[cfg(feature = "indy_compat")]
#[cfg_attr(docsrs, doc(cfg(feature = "indy_compat")))]
/// Indy wallet compatibility support
pub mod indy_compat;

mod options;

#[cfg(feature = "ffi")]
#[macro_use]
extern crate serde_json;

#[cfg(feature = "ffi")]
mod ffi;

#[cfg(feature = "postgres")]
#[cfg_attr(docsrs, doc(cfg(feature = "postgres")))]
/// Postgres database support
pub mod postgres;

#[macro_use]
pub(crate) mod serde_utils;

#[cfg(feature = "sqlite")]
#[cfg_attr(docsrs, doc(cfg(feature = "sqlite")))]
/// Sqlite database support
pub mod sqlite;

#[cfg(feature = "any")]
#[cfg_attr(docsrs, doc(cfg(feature = "any")))]
/// Generic backend (from URI) support
pub mod any;

mod keys;
pub use self::keys::{
    derive_verkey, verify_signature,
    wrap::{generate_raw_wrap_key, WrapKeyMethod},
    KeyAlg, KeyCategory, KeyEntry, KeyParams, PassKey,
};

mod store;
pub use self::store::{Backend, ManageBackend, QueryBackend, Scan, Session, Store};

mod types;
pub use self::types::{Entry, EntryOperation, EntryTag, SecretBytes, TagFilter};

mod wql;