# 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.85"
name = "renso-code-graph"
version = "1.1.0"
build = "build.rs"
include = [
    "src/**/*",
    "build.rs",
    "Cargo.toml",
    "README.md",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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",
]
license = "LicenseRef-Proprietary"
repository = "https://github.com/Renso-AI/code-graph-dist"
resolver = "2"

[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"

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

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

[build-dependencies.hex]
version = "0.4"

[build-dependencies.sha2]
version = "0.10"

[build-dependencies.tar]
version = "0.4"

[build-dependencies.ureq]
version = "2"
features = ["tls"]
default-features = false

[build-dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
