This repository was archived by the owner on Sep 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (39 loc) · 1.45 KB
/
Cargo.toml
File metadata and controls
48 lines (39 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "tree-sitter-stack-graphs-java"
version = "0.5.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 <bekavalentine@github.com>",
"Douglas Creager <dcreager@dcreager.net>",
"GitHub <opensource+stack-graphs@github.com>",
"Hendrik van Antwerpen <hendrikvanantwerpen@github.com>",
"Nina Kaufman <rnkaufman@github.com>",
"Rob Rix <robrix@github.com>",
]
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.23.4" }
tree-sitter-stack-graphs = { version = "0.10", 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"] }