[package]
edition = "2024"
rust-version = "1.97.1"
name = "code-system-graph"
version = "1.0.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI, MCP, and HTTP delivery for local multi-repository code intelligence."
homepage = "https://github.com/dertin/code-system-graph"
readme = "README.md"
keywords = [
"code-intelligence",
"static-analysis",
"impact-analysis",
"mcp",
"monorepo",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/dertin/code-system-graph"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/code-system-graph-{ target }-v{ version }{ archive-suffix }"
bin-dir = "code-system-graph-{ target }-v{ version }/bin/{ bin }{ binary-ext }"
pkg-fmt = "tgz"
disabled-strategies = [
"quick-install",
"compile",
]
[package.metadata.binstall.overrides."cfg(windows)"]
pkg-fmt = "zip"
[lib]
name = "code_system_graph"
path = "src/lib.rs"
[[bin]]
name = "csgraph"
path = "src/main.rs"
[[test]]
name = "changes_e2e"
path = "tests/changes_e2e.rs"
[[test]]
name = "config_show_e2e"
path = "tests/config_show_e2e.rs"
[[test]]
name = "database_frameworks_e2e"
path = "tests/database_frameworks_e2e.rs"
[[test]]
name = "explore_e2e"
path = "tests/explore_e2e.rs"
[[test]]
name = "extraction_budgets_e2e"
path = "tests/extraction_budgets_e2e.rs"
[[test]]
name = "extraction_scale_e2e"
path = "tests/extraction_scale_e2e.rs"
[[test]]
name = "http_server_e2e"
path = "tests/http_server_e2e.rs"
[[test]]
name = "http_trace_e2e"
path = "tests/http_trace_e2e.rs"
[[test]]
name = "ignore_policy_e2e"
path = "tests/ignore_policy_e2e.rs"
[[test]]
name = "impact_e2e"
path = "tests/impact_e2e.rs"
[[test]]
name = "interfaces_e2e"
path = "tests/interfaces_e2e.rs"
[[test]]
name = "manifest_mutation_e2e"
path = "tests/manifest_mutation_e2e.rs"
[[test]]
name = "mcp_protocol_e2e"
path = "tests/mcp_protocol_e2e.rs"
[[test]]
name = "pull_request_e2e"
path = "tests/pull_request_e2e.rs"
[[test]]
name = "query_communities_e2e"
path = "tests/query_communities_e2e.rs"
[[test]]
name = "scale_registry_e2e"
path = "tests/scale_registry_e2e.rs"
[[test]]
name = "scan_controls_e2e"
path = "tests/scan_controls_e2e.rs"
[[test]]
name = "security_e2e"
path = "tests/security_e2e.rs"
[[test]]
name = "sqlx_e2e"
path = "tests/sqlx_e2e.rs"
[[test]]
name = "sync_e2e"
path = "tests/sync_e2e.rs"
[dependencies.anyhow]
version = "1.0.104"
[dependencies.atomic-write-file]
version = "0.3.0"
[dependencies.axum]
version = "0.8.9"
[dependencies.clap]
version = "4.6.4"
features = ["derive"]
[dependencies.clap_complete]
version = "4.6.8"
[dependencies.code-system-graph-core]
version = "1.0.1"
[dependencies.code-system-graph-hooks]
version = "1.0.1"
[dependencies.code-system-graph-model]
version = "1.0.1"
[dependencies.code-system-graph-store-sqlite]
version = "1.0.1"
[dependencies.notify]
version = "8.2.0"
[dependencies.rmcp]
version = "3.1.0"
features = ["transport-io"]
[dependencies.rusqlite]
version = "0.40.1"
features = ["bundled"]
[dependencies.schemars]
version = "1.2.2"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.signal-hook]
version = "0.4.4"
[dependencies.subtle]
version = "2.6.1"
[dependencies.sysinfo]
version = "0.39.6"
features = ["system"]
default-features = false
[dependencies.thiserror]
version = "2.0.19"
[dependencies.tokio]
version = "1.53.1"
features = [
"macros",
"net",
"rt-multi-thread",
"signal",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7.19"
features = ["rt"]
[dependencies.tower]
version = "0.5.3"
features = [
"util",
"limit",
]
[dependencies.tower-http]
version = "0.7.0"
features = [
"catch-panic",
"limit",
"sensitive-headers",
"set-header",
"timeout",
]
[dev-dependencies.reqwest]
version = "0.13.4"
features = [
"json",
"rustls",
]
default-features = false
[dev-dependencies.rusqlite]
version = "0.40.1"
features = ["bundled"]
[dev-dependencies.tempfile]
version = "3.27.0"
[target."cfg(unix)".dependencies.nix]
version = "0.31.3"
features = [
"fs",
"signal",
]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_System_JobObjects",
"Win32_System_Threading",
]
[lints.clippy]
clone_on_copy = "deny"
large_enum_variant = "deny"
needless_collect = "deny"
redundant_clone = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = 10
[lints.clippy.pedantic]
level = "warn"
priority = 5
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "deny"
priority = -1