forked from tree-sitter/tree-sitter-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (40 loc) · 1.29 KB
/
Cargo.toml
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
[package]
name = "tree-sitter-graph"
version = "0.11.2"
description = "Construct graphs from parsed source code"
homepage = "https://github.com/tree-sitter/tree-sitter-graph/"
repository = "https://github.com/tree-sitter/tree-sitter-graph/"
readme = "README.md"
license = "MIT OR Apache-2.0"
authors = [
"Douglas Creager <[email protected]>"
]
edition = "2018"
[lib]
# All of our tests are in the tests/it "integration" test executable.
test = false
[[bin]]
name = "tree-sitter-graph"
required-features = ["cli"]
[features]
cli = ["anyhow", "clap", "env_logger", "term-colors", "tree-sitter-config", "tree-sitter-loader"]
term-colors = ["colored"]
[dependencies]
anyhow = { version = "1.0", optional = true }
clap = { version = "3.2", optional = true }
colored = { version = "2", optional = true }
env_logger = { version = "0.9", optional = true }
log = "0.4"
regex = "1.3.2"
serde = "1.0"
serde_json = "1.0"
smallvec = { version="1.6", features=["union"] }
string-interner = { version = "0.12", default-features = false, features = ["std", "inline-more", "backends"] }
thiserror = "1.0.7"
tree-sitter = "0.20.3"
tree-sitter-config = { version = "0.19", optional = true }
tree-sitter-loader = { version = "0.20", optional = true }
[dev-dependencies]
env_logger = "0.9"
indoc = "1.0"
tree-sitter-python = "0.20"