KeiSeiKit-1.0/_primitives/_rust/kei-memory-redis/src/lib.rs
Parfii-bot a4e667de10 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

25 lines
882 B
Rust

// SPDX-License-Identifier: Apache-2.0
// Copyright 2026 <author org>
//!
//! kei-memory-redis — MemoryBackend trait-impl backed by Redis 7+.
//!
//! Hosted Sleep Wave 6 atomar. Async via the `redis` crate (`aio` +
//! `tokio-comp`). Single-class-per-file Constructor Pattern:
//!
//! - [`error`] : crate-local error type, mappable into
//! `kei_runtime_core::Error`.
//! - [`store`] : low-level Redis client + key-schema helpers (no trait).
//! - [`backend`] : [`backend::RedisBackend`] glues `RedisStore` to the
//! `MemoryBackend` trait + carries a DNA.
//!
//! Live integration tests live in `tests/redis_smoke.rs` and are gated
//! behind the `live` cargo feature so a default `cargo test` run does
//! not require a running Redis.
pub mod backend;
pub mod error;
pub mod store;
pub use backend::RedisBackend;
pub use error::{Error, Result};
pub use store::RedisStore;