actix_storage/lib.rs
1mod actor;
2mod error;
3mod provider;
4mod storage;
5
6#[cfg(feature = "with-serde")]
7mod format;
8
9#[cfg(feature = "with-serde")]
10pub use crate::format::Format;
11
12pub use error::{Result, StorageError};
13pub use storage::{Storage, GLOBAL_SCOPE};
14
15/// Set of traits and structs used for storage backend development
16pub mod dev {
17 /// Set of actix messages to help with store and expiry implementation
18 pub mod actor {
19 pub use crate::actor::*;
20 }
21 pub use crate::provider::*;
22 pub use crate::storage::StorageBuilder;
23}
24
25#[doc(hidden)]
26#[cfg(feature = "tests")]
27pub mod tests;