Group E — Cargo workspace hygiene (post-audit 2026-05-02).
Workspace dependency inheritance:
- 40+ member crates migrated from inline dep pinning to { workspace = true }.
Was: every crate redeclared clap/serde/rusqlite/tokio/etc inline, defeating
the [workspace.dependencies] SSoT and forcing N edits per upgrade.
Authoritative pins now live solely in _primitives/_rust/Cargo.toml.
Major version splits resolved:
- dashmap: 5 vs 6 (kei-cortex/kei-gateway) -> 6 in workspace
- tower: 0.4 vs 0.5 (kei-cortex/kei-forge) -> 0.5 in workspace
- notify: 6 vs 8 (kei-projects-watcher/kei-watch+kei-skills) -> 8 in workspace
- thiserror: 1 vs 2 (workspace/keisei) -> kept 1; keisei downgraded
Closed: dual-major compilation = wasted build time + ABI mismatch risk
at trait boundaries.
Profile / orphan cleanup:
- kei-changelog/Cargo.toml: deleted [profile.release] block (workspace member
profiles are silently ignored by Cargo since 1.0).
- kei-brain-view/Cargo.toml: removed dangling "[workspace] table stripped on
merge" comment (orphan from prior decomposition).
rust-version SSoT:
- 27+ member crates migrated from inline rust-version = "1.75" to
rust-version.workspace = true. Workspace declares 1.77; the inline 1.75 pins
were stale and misleading (with resolver 2 the workspace MSRV won anyway).
cargo check --workspace: clean (only pre-existing sqlx-postgres future-incompat
warning + frustration-matrix dead-code warning, neither introduced by this change).
Note: _assembler/ lives outside _primitives/_rust workspace, so its Cargo.toml
was not touched here. Remaining edition-2024 question for _assembler is a
separate decision.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
34 lines
1.1 KiB
TOML
34 lines
1.1 KiB
TOML
[package]
|
|
name = "kei-memory-redis"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
description = "MemoryBackend trait-impl backed by Redis 7+ (async). Wave 6 atomar."
|
|
authors = ["Denis Parfionovich <info@greendragon.info>"]
|
|
license = "Apache-2.0"
|
|
|
|
[lib]
|
|
name = "kei_memory_redis"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true }
|
|
redis = { version = "0.27", default-features = false, features = ["aio", "tokio-comp"] }
|
|
kei-runtime-core = { path = "../kei-runtime-core" }
|
|
|
|
[features]
|
|
# Tests in `tests/redis_smoke.rs` are gated behind `live` and only run when
|
|
# a real Redis 7+ is reachable on REDIS_URL (default redis://127.0.0.1:6379).
|
|
# Default builds compile but skip live network.
|
|
default = []
|
|
live = []
|
|
|
|
[package.metadata.keisei]
|
|
backend = "redis"
|
|
trait = "MemoryBackend"
|
|
description = "Redis 7+ MemoryBackend (async, aio+tokio-comp). Hosted Sleep Wave 6."
|
|
authors = ["Denis Parfionovich <info@greendragon.info>"]
|