# 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.70" name = "tree-sitter-grep" version = "0.1.0" authors = [ "Julian Rosse ", "Peter Stuart ", ] description = """ tree-sitter-grep is a grep-like search tool that recursively searches the current directory for a tree-sitter query pattern. Like ripgrep, it respects gitignore rules. """ homepage = "https://github.com/helixbass/tree-sitter-grep" readme = "README.md" keywords = [ "tree-sitter", "grep", "search", ] categories = [ "command-line-utilities", "development-tools", ] license = "Unlicense OR MIT" repository = "https://github.com/helixbass/tree-sitter-grep" [[bin]] name = "tree-sitter-grep" [[example]] name = "filter_before_line_number" crate-type = ["cdylib"] [[example]] name = "filter_before_line_10" crate-type = ["cdylib"] [[example]] name = "filter_function_items_before_line_10" crate-type = ["cdylib"] [dependencies.bstr] version = "1.1.0" [dependencies.bytecount] version = "0.6" [dependencies.clap] version = "4.3.0" features = [ "derive", "wrap_help", ] [dependencies.encoding_rs] version = "0.8.14" [dependencies.encoding_rs_io] version = "0.1.6" [dependencies.ignore] version = "0.4.20-dev.0" package = "tree_sitter_grep_ignore" [dependencies.libc] version = "0.2.144" [dependencies.libloading] version = "0.8.0" [dependencies.log] version = "0.4.5" [dependencies.memchr] version = "2.1" [dependencies.memmap] version = "0.5.3" package = "memmap2" [dependencies.once_cell] version = "1.18.0" [dependencies.proc_macros] version = "0.1.0" package = "tree_sitter_grep_proc_macros" [dependencies.rayon] version = "1.7.0" [dependencies.regex] version = "1.8.2" [dependencies.serde] version = "1.0.77" features = ["derive"] [dependencies.strum_macros] version = "0.25.1" [dependencies.termcolor] version = "1.2.0" [dependencies.tree-sitter] version = "0.20.10" [dependencies.tree-sitter-c] version = "0.20.2" [dependencies.tree-sitter-c-sharp] version = "0.20.0" [dependencies.tree-sitter-cpp] version = "0.20.0" [dependencies.tree-sitter-css] version = "0.19.0" [dependencies.tree-sitter-dockerfile] version = "0.1.0" [dependencies.tree-sitter-elisp] version = "1.3.0" [dependencies.tree-sitter-elm] version = "5.6.4" [dependencies.tree-sitter-go] version = "0.19.1" [dependencies.tree-sitter-html] version = "0.19.0" [dependencies.tree-sitter-java] version = "0.20.0" [dependencies.tree-sitter-javascript] version = "0.20.0" [dependencies.tree-sitter-json] version = "0.19.0" [dependencies.tree-sitter-kotlin] version = "0.2.11" [dependencies.tree-sitter-lua] version = "0.0.18" [dependencies.tree-sitter-objc] version = "1.1.0" [dependencies.tree-sitter-python] version = "0.20.2" [dependencies.tree-sitter-query] version = "0.1.0" [dependencies.tree-sitter-ruby] version = "0.20.0" [dependencies.tree-sitter-rust] version = "0.20.3-dev.0" package = "tree_sitter_grep_tree-sitter-rust" [dependencies.tree-sitter-swift] version = "0.3.6" [dependencies.tree-sitter-toml] version = "0.20.0" [dependencies.tree-sitter-typescript] version = "0.20.2" [dev-dependencies.assert_cmd] version = "2.0.11" [dev-dependencies.escargot] version = "0.5.7" [dev-dependencies.predicates] version = "3.0.3" [dev-dependencies.shlex] version = "1.1.0" [features] default = ["bytecount/runtime-dispatch-simd"]