stemedb/crates/stemedb-storage/Cargo.toml
jordan a734be3a0d feat: Phase 7 Content Defense + code structure refactoring
Content Defense (Phase 7):
- Add SimilarityIndex with MinHash/LSH for near-duplicate detection
- Add QuarantineStore for flagged assertions awaiting admin review
- Add CircuitBreakerStore for per-agent circuit breaker state
- Add ContentDefenseLayer for ingestion pipeline integration
- Add API endpoints for quarantine and circuit breaker management
- Add research module with gap detection and documentation fetching

Code Structure Improvements:
- Extract research CLI commands to research_commands.rs
- Extract API routers to routers.rs module
- Extract key_codec extraction functions to separate module
- Extract test modules to separate files across multiple crates
- All files now under 500 line limit per pre-commit hook

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 12:44:05 -07:00

50 lines
1.3 KiB
TOML

[package]
name = "stemedb-storage"
version = "0.1.0"
edition = "2021"
description = "Storage engine abstraction and implementations for Episteme"
# Inherit workspace lints
[lints]
workspace = true
[dependencies]
stemedb-core = { path = "../stemedb-core" }
fjall = "2"
redb = "2"
dashmap = "6"
tempfile = "3.10"
thiserror = "1.0"
tracing = "0.1"
async-trait = "0.1"
blake3 = "1.5"
hex = "0.4"
memchr = "2"
rkyv = { version = "0.7", features = ["validation"] }
# HNSW vector index for k-NN similarity search
hnsw_rs = "0.3"
# Thread-safe read-write locks for index access
parking_lot = "0.12"
tokio = { version = "1", features = ["sync", "rt", "time"] }
# Memory-mapped files for cold index persistence
memmap2 = "0.9"
# Fast CRC32C checksums (hardware-accelerated on x86)
crc32c = "0.6"
# Byte order encoding for checkpoint format
byteorder = "1.5"
# Graph data structures for EigenTrust trust graph
petgraph = "0.6"
# Linear algebra for EigenTrust power iteration
nalgebra = "0.33"
# Bloom filter for fast duplicate detection (Content Defense Phase 7C)
bloomfilter = "1.0"
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"] }
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
proptest = "1.4"
[[bench]]
name = "kv_store"
harness = false