# 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.96.1"
name = "decapod"
version = "0.62.2"
build = "build/compress_constitution.rs"
exclude = [
    ".decapod/*",
    "dist/*",
    "target/*",
    "constitution_embed/*",
    "project/assets/*.mp4",
    "tests/fixtures/*",
    "tests/golden_vectors/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Decapod is a Rust-built governance runtime for AI agents: repo-native state, enforced workflow, proof gates, safe coordination."
homepage = "https://github.com/DecapodLabs/decapod"
readme = "README.md"
keywords = [
    "governance",
    "ai",
    "ai-agents",
    "control-plane",
    "orchestration",
]
categories = [
    "artificial-intelligence",
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/DecapodLabs/decapod"

[features]
cloud = []
default = []

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

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

[[bin]]
name = "selective-test"
path = "src/bin/selective-test.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "core_tests"
path = "tests/core/core.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "plugins_aptitude_tests"
path = "tests/plugins/aptitude.rs"

[[test]]
name = "plugins_decide_tests"
path = "tests/plugins/decide.rs"

[[test]]
name = "plugins_federation_tests"
path = "tests/plugins/federation.rs"

[[test]]
name = "plugins_health_tests"
path = "tests/plugins/health.rs"

[[test]]
name = "plugins_internalize_tests"
path = "tests/plugins/internalize.rs"

[[test]]
name = "plugins_obligation_tests"
path = "tests/plugins/obligation.rs"

[[test]]
name = "plugins_policy_tests"
path = "tests/plugins/policy.rs"

[[test]]
name = "plugins_todo_tests"
path = "tests/plugins/todo.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "perf_1_1"
path = "project/benches/perf_1_1.rs"
harness = false

[[bench]]
name = "perf_1_2"
path = "project/benches/perf_1_2.rs"
harness = false

[[bench]]
name = "perf_1_3"
path = "project/benches/perf_1_3.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

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

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

[dependencies.fancy-regex]
version = "0.13"

[dependencies.flate2]
version = "1.0"

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dependencies.rust-embed]
version = "8"
features = ["include-exclude"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tiktoken-rs]
version = "0.9"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.regex]
version = "1.10"

[dev-dependencies.serde_json]
version = "1.0"

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

[build-dependencies.flate2]
version = "1.0"

[build-dependencies.serde]
version = "1.0"
features = ["derive"]

[build-dependencies.serde_json]
version = "1.0"

[profile.dist]
lto = "thin"
inherits = "release"
