[package]
edition = "2024"
rust-version = "1.96"
name = "truth-mirror"
version = "0.3.0"
authors = ["Ramiro Rivera"]
build = false
exclude = ["/.truth-mirror"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Truthfulness gate and adversarial reviewer harness for AI coding agents."
homepage = "https://github.com/ramarivera/truth-mirror"
documentation = "https://docs.rs/truth-mirror"
readme = "README.md"
keywords = [
"cli",
"git-hooks",
"code-review",
"agents",
"llm",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/ramarivera/truth-mirror"
[lib]
name = "truth_mirror"
path = "src/lib.rs"
[[bin]]
name = "truth-mirror"
path = "src/main.rs"
[[test]]
name = "cli_help"
path = "tests/cli_help.rs"
[[test]]
name = "enforcement_cli"
path = "tests/enforcement_cli.rs"
[[test]]
name = "gate_cli"
path = "tests/gate_cli.rs"
[[test]]
name = "hooks_cli"
path = "tests/hooks_cli.rs"
[[test]]
name = "ledger_cli"
path = "tests/ledger_cli.rs"
[[test]]
name = "review_cli"
path = "tests/review_cli.rs"
[[test]]
name = "skills_cli"
path = "tests/skills_cli.rs"
[[test]]
name = "watch_cli"
path = "tests/watch_cli.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
"wrap_help",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "0.9"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.proptest]
version = "1.7"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.23"
[lints.rust]
unsafe_code = "forbid"