# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "tree-sitter-stack-graphs" version = "0.9.0" authors = [ "GitHub ", "Douglas Creager ", "Hendrik van Antwerpen ", ] description = "Create stack graphs using tree-sitter parsers" homepage = "https://github.com/github/stack-graphs/tree/main/tree-sitter-stack-graphs" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/github/stack-graphs/" [lib] test = false [[bin]] name = "tree-sitter-stack-graphs" required-features = ["cli"] [dependencies.anyhow] version = "1.0.4" [dependencies.base64] version = "0.21" optional = true [dependencies.capture-it] version = "0.3" optional = true [dependencies.clap] version = "4" features = ["derive"] optional = true [dependencies.colored] version = "2.0" optional = true [dependencies.controlled-option] version = "0.4.1" [dependencies.crossbeam-channel] version = "0.5" optional = true [dependencies.dialoguer] version = "0.10" optional = true [dependencies.dirs] version = "5" optional = true [dependencies.env_logger] version = "0.9" optional = true [dependencies.indoc] version = "1.0" optional = true [dependencies.itertools] version = "0.10" [dependencies.log] version = "0.4" [dependencies.lsp-positions] version = "0.3" features = ["tree-sitter"] [dependencies.once_cell] version = "1" [dependencies.pathdiff] version = "0.2.1" optional = true [dependencies.regex] version = "1" [dependencies.rust-ini] version = "0.18" [dependencies.serde_json] version = "1.0" optional = true [dependencies.sha1] version = "0.10" optional = true [dependencies.stack-graphs] version = "0.14" [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" optional = true [dependencies.tokio] version = "1.26" features = [ "io-std", "rt", "rt-multi-thread", ] optional = true [dependencies.tower-lsp] version = "0.19" optional = true [dependencies.tree-sitter] version = "0.20" [dependencies.tree-sitter-config] version = "0.19" optional = true [dependencies.tree-sitter-graph] version = "0.11" [dependencies.tree-sitter-loader] version = "0.20" [dependencies.walkdir] version = "2.3" optional = true [dev-dependencies.pretty_assertions] version = "0.7" [dev-dependencies.tree-sitter-python] version = "=0.19.1" [features] cli = [ "base64", "clap", "colored", "dialoguer", "dirs", "env_logger", "indoc", "pathdiff", "serde_json", "sha1", "stack-graphs/serde", "stack-graphs/storage", "stack-graphs/visualization", "time", "tree-sitter-config", "tree-sitter-graph/term-colors", "walkdir", ] lsp = [ "capture-it", "crossbeam-channel", "tokio", "tower-lsp", ]