# 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 = "2021" rust-version = "1.74.1" name = "tree-sitter-cli" version = "0.24.4" authors = ["Max Brunsfeld "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "CLI tool for developing, testing, and using Tree-sitter parsers" homepage = "https://tree-sitter.github.io/tree-sitter" readme = "README.md" keywords = [ "incremental", "parsing", ] categories = [ "command-line-utilities", "parsing", ] license = "MIT" repository = "https://github.com/tree-sitter/tree-sitter" [lib] name = "tree_sitter_cli" path = "src/lib.rs" [[bin]] name = "tree-sitter" path = "src/main.rs" doc = false [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false [dependencies.anstyle] version = "1.0.8" [dependencies.anyhow] version = "1.0.89" [dependencies.bstr] version = "1.10.0" [dependencies.clap] version = "4.5.18" features = [ "cargo", "derive", "env", "help", "unstable-styles", ] [dependencies.clap_complete] version = "4.5.29" [dependencies.ctor] version = "0.2.8" [dependencies.ctrlc] version = "3.4.5" features = ["termination"] [dependencies.dialoguer] version = "0.11.0" features = ["fuzzy-select"] [dependencies.dirs] version = "5.0.1" [dependencies.filetime] version = "0.2.25" [dependencies.glob] version = "0.3.1" [dependencies.heck] version = "0.5.0" [dependencies.html-escape] version = "0.2.13" [dependencies.indexmap] version = "2.5.0" [dependencies.indoc] version = "2.0.5" [dependencies.lazy_static] version = "1.5.0" [dependencies.log] version = "0.4.22" features = ["std"] [dependencies.memchr] version = "2.7.4" [dependencies.rand] version = "0.8.5" [dependencies.regex] version = "1.10.6" [dependencies.regex-syntax] version = "0.8.4" [dependencies.rustc-hash] version = "2.0.0" [dependencies.semver] version = "1.0.23" features = ["serde"] [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_derive] version = "1.0.210" [dependencies.serde_json] version = "1.0.128" features = ["preserve_order"] [dependencies.similar] version = "2.6.0" [dependencies.smallbitvec] version = "2.5.3" [dependencies.streaming-iterator] version = "0.1.9" [dependencies.tiny_http] version = "0.12.0" [dependencies.tree-sitter] version = "0.24.4" [dependencies.tree-sitter-config] version = "0.24.4" [dependencies.tree-sitter-generate] version = "0.24.4" [dependencies.tree-sitter-highlight] version = "0.24.4" [dependencies.tree-sitter-loader] version = "0.24.4" [dependencies.tree-sitter-tags] version = "0.24.4" [dependencies.url] version = "2.5.2" features = ["serde"] [dependencies.walkdir] version = "2.5.0" [dependencies.wasmparser] version = "0.217.0" [dependencies.webbrowser] version = "1.0.2" [dev-dependencies.pretty_assertions] version = "1.4.1" [dev-dependencies.tempfile] version = "3.12.0" [dev-dependencies.unindent] version = "0.2.3" [features] wasm = [ "tree-sitter/wasm", "tree-sitter-loader/wasm", ]