[package]
edition = "2024"
rust-version = "1.97.1"
name = "code-system-graph-hooks"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Repository host hook installation and lifecycle for Code System Graph."
homepage = "https://github.com/dertin/code-system-graph"
readme = "README.md"
keywords = [
"code-intelligence",
"static-analysis",
"impact-analysis",
"mcp",
"dependency-graph",
]
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_hooks"
path = "src/lib.rs"
[[bin]]
name = "code-system-graph-hooks"
path = "src/main.rs"
[[test]]
name = "host_hooks"
path = "tests/host_hooks.rs"
[[test]]
name = "host_lifecycle"
path = "tests/host_lifecycle.rs"
[dependencies.atomic-write-file]
version = "0.3.0"
[dependencies.blake3]
version = "1.8.5"
[dependencies.libc]
version = "0.2"
[dependencies.nix]
version = "0.31.3"
features = ["fs"]
[dependencies.schemars]
version = "1.2.2"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.thiserror]
version = "2.0.19"
[dev-dependencies.tempfile]
version = "3.27.0"
[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