core_crypto_keystore/
lib.rs

1#![doc = include_str!("../README.md")]
2#![doc = include_str!("../../docs/KEYSTORE_IMPLEMENTATION.md")]
3
4pub mod connection;
5pub mod entities;
6mod error;
7mod hash;
8pub(crate) mod migrations;
9pub(crate) mod mls;
10#[cfg(feature = "proteus-keystore")]
11pub(crate) mod proteus;
12pub mod traits;
13pub mod transaction;
14
15pub use hash::Sha256Hash;
16#[cfg(not(target_family = "wasm"))]
17pub(crate) use hash::sha256;
18
19#[cfg(feature = "dummy-entity")]
20pub use self::entities::{DummyStoreValue, DummyValue, NewDummyStoreValue};
21#[cfg(feature = "proteus-keystore")]
22pub use self::proteus::CryptoKeystoreProteus;
23pub use self::{
24    connection::{ConnectionType, Database, DatabaseKey},
25    error::{CryptoKeystoreError, CryptoKeystoreResult, MissingKeyErrorKind},
26    mls::{CryptoKeystoreMls, deser, ser},
27};