# 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" name = "tsfind" version = "0.2.9" build = false include = [ "src/**/*", "LICENSE", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Extract code using tree-sitter queries" homepage = "https://github.com/Vonr/tsfind" readme = "README.md" keywords = [ "command-line", "tree-sitter", "language", "query", ] license = "MIT" repository = "https://github.com/Vonr/tsfind" [[bin]] name = "tsfind" path = "src/main.rs" [dependencies.bstr] version = "1" features = ["alloc"] default-features = false [dependencies.clap] version = "4" features = ["derive"] [dependencies.color-eyre] version = "0.6" [dependencies.ignore] version = "0.4" [dependencies.memmap2] version = "0.9" [dependencies.parking_lot] version = "0.12" [dependencies.tree-sitter] version = "0.23" [dependencies.tree-sitter-go] version = "0.23" optional = true [dependencies.tree-sitter-javascript] version = "0.23" optional = true [dependencies.tree-sitter-php] version = "0.23" optional = true [dependencies.tree-sitter-rust] version = "0.23" optional = true [dependencies.tree-sitter-typescript] version = "0.23" optional = true [dependencies.unescaper] version = "0.1" [build-dependencies.cc] version = "1" [features] default = [ "rust", "go", "javascript", "typescript", "php", ] go = ["dep:tree-sitter-go"] javascript = ["dep:tree-sitter-javascript"] php = ["dep:tree-sitter-php"] rust = ["dep:tree-sitter-rust"] typescript = ["dep:tree-sitter-typescript"]