[package] name = "tree-sitter-stack-graphs-python" version = "0.2.0" description = "Stack graphs definition for Python using tree-sitter-python" readme = "README.md" keywords = ["tree-sitter", "stack-graphs", "python"] authors = [ "GitHub ", ] license = "MIT OR Apache-2.0" edition = "2018" [[bin]] name = "tree-sitter-stack-graphs-python" path = "rust/bin.rs" required-features = ["cli"] [lib] path = "rust/lib.rs" test = false [[test]] name = "test" path = "rust/test.rs" harness = false [features] cli = ["anyhow", "clap", "tree-sitter-stack-graphs/cli"] [dependencies] anyhow = { version = "1.0", optional = true } clap = { version = "4", optional = true, features = ["derive"] } tree-sitter-stack-graphs = { version = "0.9", path = "../../tree-sitter-stack-graphs" } # explicit version is required to be able to publish crate tree-sitter-python = "=0.20.4" [dev-dependencies] anyhow = "1.0" tree-sitter-stack-graphs = { path = "../../tree-sitter-stack-graphs", features = ["cli"] }