-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (34 loc) · 1.15 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "tsfind"
description = "Extract code using tree-sitter queries"
license = "MIT"
edition = "2021"
version = "0.2.9"
readme = "README.md"
homepage = "https://github.com/Vonr/tsfind"
repository = "https://github.com/Vonr/tsfind"
keywords = ["command-line", "tree-sitter", "language", "query"]
include = ["src/**/*", "LICENSE", "README.md"]
[dependencies]
bstr = { version = "1", default-features = false, features = ["alloc"] }
clap = { version = "4", features = ["derive"] }
color-eyre = "0.6"
ignore = "0.4"
memmap2 = "0.9"
parking_lot = "0.12"
tree-sitter = "0.23"
tree-sitter-rust = { version = "0.23", optional = true }
tree-sitter-go = { version = "0.23", optional = true }
tree-sitter-javascript = { version = "0.23", optional = true }
tree-sitter-typescript = { version = "0.23", optional = true }
tree-sitter-php = { version = "0.23", optional = true }
unescaper = "0.1"
[features]
default = ["rust", "go", "javascript", "typescript", "php"]
rust = ["dep:tree-sitter-rust"]
go = ["dep:tree-sitter-go"]
javascript = ["dep:tree-sitter-javascript"]
typescript = ["dep:tree-sitter-typescript"]
php = ["dep:tree-sitter-php"]
[build-dependencies]
cc = "1"