[package]
edition = "2024"
rust-version = "1.95"
name = "dent8-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core claim-event model and invariants for dent8."
readme = "README.md"
keywords = [
"event-sourcing",
"provenance",
"belief-revision",
"integrity",
"memory",
]
categories = [
"data-structures",
"development-tools",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/xyzzylabs/dent8"
[package.metadata.docs.rs]
all-features = true
[features]
signed-anchor = ["dep:ed25519-dalek"]
[lib]
name = "dent8_core"
path = "src/lib.rs"
[[test]]
name = "golden_replay"
path = "tests/golden_replay.rs"
[[test]]
name = "proptest_fold"
path = "tests/proptest_fold.rs"
[[test]]
name = "proptest_invariants"
path = "tests/proptest_invariants.rs"
[[test]]
name = "proptest_robustness"
path = "tests/proptest_robustness.rs"
[dependencies.ed25519-dalek]
version = "2"
optional = true
[dependencies.hex]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[dependencies.sha2]
version = "0.10"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]