-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
61 lines (50 loc) · 1.23 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "tree-sitter-graph"
version = "0.5.1"
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 <dcreager@dcreager.net>"
]
edition = "2018"
[lib]
# All of our tests are in the tests/it "integration" test executable.
test = false
[dependencies]
anyhow = "1.0"
log = "0.4"
regex = "1"
smallvec = { version="1.6", features=["union"] }
thiserror = "1.0"
tree-sitter = "0.20"
serde = "1.0"
serde_json = "1.0"
[dependencies.string-interner]
version = "0.12"
default-features = false
features = ["std", "inline-more", "backends"]
[dev-dependencies]
env_logger = "0.9"
indoc = "1.0"
tree-sitter-python = "0.19.1"
# cli-only dependencies below
[[bin]]
name = "tree-sitter-graph"
required-features = ["cli"]
[features]
cli = ["clap", "env_logger", "tree-sitter-config", "tree-sitter-loader"]
[dependencies.clap]
optional = true
version = "3.2"
[dependencies.env_logger]
optional = true
version = "0.9"
[dependencies.tree-sitter-config]
optional = true
version = "0.19"
[dependencies.tree-sitter-loader]
optional = true
version = "0.19"