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
#![forbid(unsafe_code)]
pub const UNCHANGED: u8 = 0;
pub const PURGED: u8 = 1;
pub const RENEWED: u8 = 2;
pub const CHANGED: u8 = 3;
pub type Data = std::collections::BTreeMap<String, serde_json::Value>;
mod error;
mod state;
mod storage;
mod store;
pub use async_trait::async_trait;
pub use error::Error;
pub use serde_json::Value;
pub use state::State;
pub use storage::Storage;
pub use store::Store;
#[cfg(feature = "session")]
mod session;
#[cfg(feature = "session")]
pub use session::Session;