[package]
name = "renso-code-graph"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "Dependency graph analyzer for code, tests, docs, and policy surfaces. Installs the prebuilt `code_graph` binary from GitHub Releases."
homepage = "https://cg.renso.ai"
documentation = "https://cg.renso.ai/docs"
readme = "README.md"
keywords = ["code-graph", "static-analysis", "llm", "mcp", "blast-radius"]
categories = ["development-tools", "command-line-utilities"]
publish = true
build = "build.rs"
include = ["src/**/*", "build.rs", "Cargo.toml", "README.md"]
[[bin]]
name = "code_graph"
path = "src/main.rs"
[build-dependencies]
ureq = { version = "2", default-features = false, features = ["tls"] }
sha2 = "0.10"
hex = "0.4"
flate2 = "1"
tar = "0.4"
zip = { version = "2", default-features = false, features = ["deflate"] }
[package.metadata.binstall]
pkg-url = "https://github.com/Renso-AI/code-graph-dist/releases/download/v{ version }/code_graph-{ target }.tar.gz"
pkg-fmt = "tgz"
bin-dir = "{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "https://github.com/Renso-AI/code-graph-dist/releases/download/v{ version }/code_graph-{ target }.zip"
pkg-fmt = "zip"