File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
languages/tree-sitter-stack-graphs-ruby Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ edition = "2018"
13
13
[[bin ]]
14
14
name = " tree-sitter-stack-graphs-ruby"
15
15
path = " rust/bin.rs"
16
- required-features = [" cli" ]
16
+ required-features = [" cli" , " storage " , " visualization " ]
17
17
18
18
[lib ]
19
19
path = " rust/lib.rs"
@@ -26,10 +26,15 @@ harness = false
26
26
27
27
[features ]
28
28
cli = [" anyhow" , " clap" , " tree-sitter-stack-graphs/cli" ]
29
+ storage = [" rusqlite" , " serde" ]
30
+ visualization = [" serde" , " serde_json" ]
29
31
30
32
[dependencies ]
31
33
anyhow = { version = " 1.0" , optional = true }
32
34
clap = { version = " 4" , optional = true }
35
+ rusqlite = { version = " 0.28" , optional =true , features = [" bundled" , " functions" ] }
36
+ serde = { version =" 1.0" , optional =true , features = [" derive" ] }
37
+ serde_json = { version =" 1.0" , optional =true }
33
38
tree-sitter-stack-graphs = { version = " 0.6.0" , path = " ../../tree-sitter-stack-graphs" }
34
39
tree-sitter-ruby = " 0.20.0"
35
40
You can’t perform that action at this time.
0 commit comments