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
#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)]
#[macro_use]
mod error;
pub use self::error::{Error, ErrorKind};
#[cfg(test)]
#[macro_use]
extern crate hex_literal;
#[macro_use]
mod macros;
#[cfg(any(test, feature = "log"))]
#[macro_use]
extern crate log;
#[macro_use]
extern crate serde;
pub mod backend;
pub use self::backend::{Backend, ManageBackend};
#[cfg(feature = "any")]
pub use self::backend::any;
#[cfg(feature = "postgres")]
pub use self::backend::postgres;
#[cfg(feature = "sqlite")]
pub use self::backend::sqlite;
pub use askar_crypto as crypto;
#[doc(hidden)]
pub mod future;
#[cfg(feature = "ffi")]
#[macro_use]
extern crate serde_json;
#[cfg(feature = "ffi")]
mod ffi;
pub mod kms;
mod protect;
pub use protect::{generate_raw_store_key, PassKey, StoreKeyMethod};
mod storage;
pub use storage::{Entry, EntryTag, Scan, Store, TagFilter};