58 lines
1.5 KiB
TOML
58 lines
1.5 KiB
TOML
# homecore-recorder — SQLite state history + semantic search (ADR-132)
|
|
#
|
|
# P1 ships: SQLite structural persistence with HA-compat schema.
|
|
# P2 (feature-gated): ruvector-backed SemanticIndex for embedding search.
|
|
#
|
|
# Build: cargo build -p homecore-recorder --no-default-features
|
|
# Test: cargo test -p homecore-recorder --no-default-features
|
|
|
|
[package]
|
|
name = "homecore-recorder"
|
|
version = "0.1.0-alpha.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["rUv <ruv@ruv.net>", "HOMECORE Contributors"]
|
|
description = "SQLite state-history recorder for HOMECORE — HA-compat schema + ruvector semantic search (ADR-132)"
|
|
repository = "https://github.com/ruvnet/RuView"
|
|
|
|
[lib]
|
|
name = "homecore_recorder"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
default = []
|
|
ruvector = []
|
|
|
|
[dependencies]
|
|
homecore = { path = "../homecore", version = "0.1.0-alpha.0" }
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["sync", "rt", "rt-multi-thread", "time", "macros"] }
|
|
|
|
# SQLite via sqlx — only the lite feature set; no postgres, no tls
|
|
sqlx = { version = "0.7", default-features = false, features = [
|
|
"runtime-tokio-native-tls",
|
|
"sqlite",
|
|
"chrono",
|
|
"uuid",
|
|
] }
|
|
|
|
# Serialisation
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Time
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Error handling
|
|
thiserror = "1"
|
|
|
|
# Structured logging
|
|
tracing = "0.1"
|
|
|
|
# Trait objects for SemanticIndex
|
|
async-trait = "0.1"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["full", "test-util"] }
|