Cargo Features

tree-sitter-stack-graphs has no features set by default.

[dependencies]
tree-sitter-stack-graphs = { version = "0.9.0", features = ["cli", "lsp"] }
cli = base64, clap, colored, dialoguer, dirs, env_logger, indoc, pathdiff, serde_json, sha1, time, tree-sitter-config, walkdir

Enables term-colors of tree-sitter-graph and serde, storage and visualization of stack-graphs

explicit version is required to be able to publish crate

Affects tree-sitter-stack-graphs::ci, tree-sitter-stack-graphs::cli

lsp = capture-it, crossbeam-channel, tokio, tower-lsp

Affects cli::lsp, cli::path_loading.Lsp, cli::provided_languages.Lsp

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

base64 cli?

Enables base64 ^0.21

capture-it lsp?

Enables capture-it ^0.3

clap cli?
colored cli?
crossbeam-channel lsp?
dialoguer cli?

Enables dialoguer ^0.10

dirs cli?
env_logger cli?

Enables env_logger ^0.9

indoc cli?

Enables indoc ^1.0

pathdiff cli?
serde_json cli?
sha1 cli?
time cli?
tokio lsp?
tower-lsp lsp?

Enables tower-lsp ^0.19

tree-sitter-config cli?

Enables tree-sitter-config ^0.19

of tree-sitter-graph to prevent install problems

walkdir cli?