[package] name = "tree-sitter-stack-graphs-java" version = "0.4.0" description = "Stack graphs for the Java programming language" homepage = "https://github.com/github/stack-graphs/tree/main/languages/tree-sitter-stack-graphs-java" repository = "https://github.com/github/stack-graphs" license = "MIT OR Apache-2.0" readme = "README.md" edition = "2021" authors = [ "Beka Valentine ", "Douglas Creager ", "GitHub ", "Hendrik van Antwerpen ", "Nina Kaufman ", "Rob Rix ", ] keywords = ["tree-sitter", "stack-graphs", "java"] [[bin]] name = "tree-sitter-stack-graphs-java" path = "rust/bin.rs" required-features = ["cli"] [lib] path = "rust/lib.rs" test = false [[test]] name = "test" path = "rust/test.rs" harness = false # need to provide own main function to handle running tests [features] cli = ["anyhow", "clap", "tree-sitter-stack-graphs/cli"] [dependencies] anyhow = { version = "1.0", optional = true } clap = { version = "4", features = ["derive"], optional = true } tree-sitter-java = { version = "=0.20.2" } tree-sitter-stack-graphs = { version = "0.9", path = "../../tree-sitter-stack-graphs" } # explicit version is required to be able to publish crate [dev-dependencies] anyhow = { version = "1.0" } tree-sitter-stack-graphs = { path = "../../tree-sitter-stack-graphs", features = ["cli"] }