# 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"
name = "symforge"
version = "8.13.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SymForge — in-memory code intelligence MCP server for Claude Code, Codex, and Gemini CLI"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/special-place-ai-heaven/symforge"

[features]
cbm-spike = []
default = ["server"]
embed = []
server = [
    "dep:rmcp",
    "dep:axum",
    "dep:clap",
    "dep:reqwest",
    "dep:socket2",
    "dep:notify",
    "dep:notify-debouncer-full",
    "dep:tracing-subscriber",
]

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

[[bin]]
name = "symforge"
path = "src/main.rs"
required-features = ["server"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aho-corasick]
version = "1.1"

[dependencies.anyhow]
version = "1.0"

[dependencies.arc-swap]
version = "1"

[dependencies.ast-grep-core]
version = "0.44"

[dependencies.automod]
version = "1"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.chrono]
version = "0.4"

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

[dependencies.dirs]
version = "6"

[dependencies.dunce]
version = "1"

[dependencies.git2]
version = "0.21"
features = ["vendored-libgit2"]
default-features = false

[dependencies.globset]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.libc]
version = "0.2.183"

[dependencies.notify]
version = "8"
optional = true

[dependencies.notify-debouncer-full]
version = "0.7"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.postcard]
version = "1.1"
features = ["use-std"]

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
    "rustls",
]
optional = true
default-features = false

[dependencies.rmcp]
version = "2.0"
features = [
    "transport-io",
    "transport-streamable-http-server",
]
optional = true

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

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yml]
version = "0.10"
package = "serde_yaml_ng"

[dependencies.sha2]
version = "0.11"

[dependencies.socket2]
version = "0.6"
optional = true

[dependencies.streaming-iterator]
version = "0.1"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48"
features = [
    "io-std",
    "macros",
    "rt-multi-thread",
    "time",
    "sync",
    "signal",
]

[dependencies.toml_edit]
version = "0.25"

[dependencies.tracing]
version = "0.1"

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

[dependencies.tree-sitter]
version = "=0.26.10"

[dependencies.tree-sitter-c]
version = "0.24.1"

[dependencies.tree-sitter-c-sharp]
version = "0.23.1"

[dependencies.tree-sitter-cpp]
version = "0.23.4"

[dependencies.tree-sitter-css]
version = "0.25.0"

[dependencies.tree-sitter-dart]
version = "=0.2.0"

[dependencies.tree-sitter-elixir]
version = "0.3.5"

[dependencies.tree-sitter-go]
version = "0.25"

[dependencies.tree-sitter-html]
version = "0.23.2"

[dependencies.tree-sitter-java]
version = "0.23.5"

[dependencies.tree-sitter-javascript]
version = "0.25"

[dependencies.tree-sitter-kotlin-sg]
version = "0.4.0"

[dependencies.tree-sitter-perl]
version = "1.1"
package = "ts-parser-perl"

[dependencies.tree-sitter-php]
version = "0.24.2"

[dependencies.tree-sitter-python]
version = "0.25"

[dependencies.tree-sitter-ruby]
version = "0.23.1"

[dependencies.tree-sitter-rust]
version = "=0.24.2"

[dependencies.tree-sitter-scss]
version = "1.0.0"

[dependencies.tree-sitter-swift]
version = "0.7.1"

[dependencies.tree-sitter-typescript]
version = "0.23.2"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.filetime]
version = "0.2"

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

[dev-dependencies.postcard]
version = "1.1"
features = ["use-std"]

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

[lints.rust]
unsafe_code = "deny"
warnings = "deny"

[profile.release]
lto = true
codegen-units = 1
strip = true
