# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "tally-ng"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Git-backed findings tracker for AI coding agents"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/1898andCo/tally"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/tally-v{ version }-{ target-triple }.tar.gz"
pkg-fmt = "tgz"
bin-dir = "tally"

[lib]
name = "tally_ng"
path = "src/lib.rs"

[[bin]]
name = "tally"
path = "src/main.rs"

[[test]]
name = "cli_test"
path = "tests/cli_test.rs"

[[test]]
name = "e2e_lifecycle_test"
path = "tests/e2e_lifecycle_test.rs"

[[test]]
name = "error_test"
path = "tests/error_test.rs"

[[test]]
name = "identity_test"
path = "tests/identity_test.rs"

[[test]]
name = "mcp_test"
path = "tests/mcp_test.rs"

[[test]]
name = "mcp_unit_test"
path = "tests/mcp_unit_test.rs"

[[test]]
name = "model_test"
path = "tests/model_test.rs"

[[test]]
name = "property_identity"
path = "tests/property_identity.rs"

[[test]]
name = "session_test"
path = "tests/session_test.rs"

[[test]]
name = "storage_test"
path = "tests/storage_test.rs"

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.clap_complete]
version = "4"

[dependencies.comfy-table]
version = "7"

[dependencies.git2]
version = "0.20"

[dependencies.hex]
version = "0.4"

[dependencies.rmcp]
version = "0.8"
features = [
    "server",
    "transport-io",
    "macros",
]

[dependencies.schemars]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "io-std",
    "rt",
    "rt-multi-thread",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy.all]
level = "deny"
priority = 0

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.unwrap_used]
level = "deny"
priority = 0

[lints.rust.unsafe_code]
level = "forbid"
priority = 0
