[package]
edition = "2024"
name = "symforge"
version = "7.19.2"
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]
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 = "admission_acceptance"
path = "tests/admission_acceptance.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 = "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 = "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 = "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 = "health_parse_quarantine"
path = "tests/health_parse_quarantine.rs"
[[test]]
name = "hook_enrichment_integration"
path = "tests/hook_enrichment_integration.rs"
[[test]]
name = "hook_subprocess_integration"
path = "tests/hook_subprocess_integration.rs"
[[test]]
name = "idempotency"
path = "tests/idempotency.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 = "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 = "rust_raw_reference_grammar"
path = "tests/rust_raw_reference_grammar.rs"
[[test]]
name = "schema_roundtrip"
path = "tests/schema_roundtrip.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 = "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 = "strict_client_schema_compat"
path = "tests/strict_client_schema_compat.rs"
[[test]]
name = "symbol_disambiguation"
path = "tests/symbol_disambiguation.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.42"
[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.20"
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.12"
features = [
"json",
"rustls-tls",
]
optional = true
default-features = false
[dependencies.rmcp]
version = "1.1.0"
features = ["transport-io"]
optional = true
[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yml]
version = "0.0.12"
[dependencies.sha2]
version = "0.10"
[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.23"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.tree-sitter]
version = "=0.26.8"
[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.0.4"
[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.2"
[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"
[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