NFC every string, JCS (struct fields in key order through serde_json), SHA-256, lowercase hex; the seam stays the single owner. Libby's 15 vectors, A-G included, run as tests; the test fixture hash is gone. Adds unicode-normalization. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
43 lines
1.6 KiB
TOML
43 lines
1.6 KiB
TOML
[package]
|
|
name = "huginn-mind"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
# The organ's rule engine: storage, identity and admission of one instance's
|
|
# mind. Document shape, bounds, formats and keys come from this workspace's
|
|
# `eureka-pipeline` (crates/eureka-pipeline);
|
|
# the store comes from CultLib's Rust CultCache at the workspace's one CultLib
|
|
# revision, so the leaf's wrappers and this crate's cache are one `cultcache-rs`. The
|
|
# read side selects through CultNet's typed selection (`cultnet-rs`, the same
|
|
# revision): the selection's vocabulary and evaluator are the
|
|
# substrate's, this crate supplies the rows. No socket, no index: those are the
|
|
# daemon's (Cut 10, Cut 11).
|
|
[dependencies]
|
|
anyhow = "1"
|
|
base64 = "0.22"
|
|
chrono = "0.4.44"
|
|
cultcache-rs.workspace = true
|
|
cultnet-rs.workspace = true
|
|
eureka-pipeline = { path = "../eureka-pipeline" }
|
|
jsonschema = { version = "0.58.6", default-features = false }
|
|
rmp-serde = "1"
|
|
schemars = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_path_to_error = "0.1"
|
|
sha2 = "0.10"
|
|
unicode-normalization = "0.1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
# `test-support` exposes `Mind::store_path_for` and `Mind::open_with`, a
|
|
# grammar-checked path accessor and the fail-closed open door, for tests in
|
|
# other crates that need to reach a raw store directly. It buys no runtime
|
|
# surface: gated `#[cfg(any(test, feature = "test-support"))]`, so it
|
|
# compiles only under `cargo test` in this crate or when a dependent's own
|
|
# dev-dependencies enable it (see huginn-daemon/Cargo.toml).
|
|
[features]
|
|
test-support = []
|