Skip to main content

core_crypto_keystore/
lib.rs

1// Lets `core_crypto_macros::jspi_wasm_bindgen_test` refer to this crate by name in its own unit tests.
2#[cfg(all(test, target_os = "unknown"))]
3extern crate self as core_crypto_keystore;
4
5pub mod ancillary;
6pub mod connection;
7mod database_key;
8pub mod entities;
9mod error;
10mod hash;
11pub(crate) mod migrations;
12pub mod traits;
13pub mod transaction;
14mod transactionlike;
15mod unique_arc;
16
17pub use hash::Sha256Hash;
18pub(crate) use hash::sha256;
19pub use unique_arc::UniqueArc;
20
21#[cfg(feature = "dummy-entity")]
22pub use self::entities::{DummyStoreValue, DummyValue};
23pub use self::{
24    connection::{Database, deser, ser},
25    database_key::DatabaseKey,
26    error::{CryptoKeystoreError, CryptoKeystoreResult, RusqliteError, RusqliteErrorCode},
27    transaction::Transaction,
28    transactionlike::Transactionlike,
29};