Skip to main content

greentic_state/
lib.rs

1#![forbid(unsafe_code)]
2#![warn(clippy::unwrap_used, clippy::expect_used)]
3
4//! Multi-tenant JSON state store primitives for Greentic runtimes.
5
6pub mod error;
7pub mod inmemory;
8pub mod key;
9#[cfg(feature = "redis")]
10pub mod redis_store;
11pub mod store;
12pub mod util;
13
14pub use crate::key::{FqnKey, fqn, fqn_prefix};
15pub use crate::store::StateStore;
16pub use greentic_types::{StateKey, StatePath, TenantCtx};