-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (51 loc) · 1.38 KB
/
Copy pathCargo.toml
File metadata and controls
56 lines (51 loc) · 1.38 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "gah"
version = "0.3.0"
edition = "2024"
description = "Non-interactive hunk-based staging for git"
license = "MIT"
repository = "https://github.com/ThatXliner/gah"
keywords = ["git", "staging", "hunks", "cli", "automation"]
categories = ["command-line-utilities", "development-tools"]
exclude = [
"demo.gif",
"demo.tape",
"demo-setup.sh",
"docs/",
"skills/",
".claude/",
".claude-plugin/",
".github/",
]
[features]
default = []
tree-sitter = [
"dep:tree-sitter",
"dep:streaming-iterator",
"dep:tree-sitter-python",
"dep:tree-sitter-javascript",
"dep:tree-sitter-typescript",
"dep:tree-sitter-rust",
"dep:tree-sitter-go",
]
[dependencies]
clap = { version = "4", features = ["derive"] }
regex = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
# Optional tree-sitter support
tree-sitter = { version = "0.24", optional = true }
streaming-iterator = { version = "0.1", optional = true }
tree-sitter-python = { version = "0.23", optional = true }
tree-sitter-javascript = { version = "0.23", optional = true }
tree-sitter-typescript = { version = "0.23", optional = true }
tree-sitter-rust = { version = "0.23", optional = true }
tree-sitter-go = { version = "0.23", optional = true }
[dev-dependencies]
tempfile = "3"
assert_cmd = "2"
predicates = "3"
[profile.release]
lto = true
strip = true