[package]
edition = "2024"
rust-version = "1.91"
name = "chainsaw-cli"
version = "0.4.2"
build = false
exclude = [
"Justfile",
"perf.toml",
"docs/",
".cargo/",
"xtask/",
"stats/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trace transitive import weight in TypeScript and Python codebases"
readme = "README.md"
keywords = [
"typescript",
"python",
"imports",
"dependencies",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/rocketman-code/chainsaw"
[lib]
name = "chainsaw"
path = "src/lib.rs"
[[bin]]
name = "chainsaw"
path = "src/main.rs"
[[test]]
name = "cache_safety"
path = "tests/cache_safety.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "git_refs"
path = "tests/git_refs.rs"
[[test]]
name = "json_roundtrip"
path = "tests/json_roundtrip.rs"
[[test]]
name = "negative_cases"
path = "tests/negative_cases.rs"
[[test]]
name = "perf_registry"
path = "tests/perf_registry.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "report_battery"
path = "tests/report_battery.rs"
[[test]]
name = "session_reports"
path = "tests/session_reports.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[[bench]]
name = "corpus_test"
path = "benches/corpus_test.rs"
harness = true
[dependencies.bitcode]
version = "0.6"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.crossbeam-queue]
version = "0.3"
[dependencies.dashmap]
version = "6"
[dependencies.gix]
version = "0.79.0"
features = ["max-performance-safe"]
default-features = false
[dependencies.notify]
version = "7"
[dependencies.oxc_allocator]
version = "0.113"
[dependencies.oxc_ast]
version = "0.113"
[dependencies.oxc_parser]
version = "0.113"
[dependencies.oxc_resolver]
version = "11"
[dependencies.oxc_span]
version = "0.113"
[dependencies.oxc_syntax]
version = "0.113"
[dependencies.rayon]
version = "1"
[dependencies.rustyline]
version = "15"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tree-sitter]
version = "0.24"
[dependencies.tree-sitter-python]
version = "0.23"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.ignore]
version = "0.4"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(target_os = "linux")'.dependencies.tikv-jemallocator]
version = "0.6"
[profile.release]
lto = true
codegen-units = 1