-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (53 loc) · 1.45 KB
/
Cargo.toml
File metadata and controls
57 lines (53 loc) · 1.45 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
57
[workspace]
members = [
"crates/rskim-core",
"crates/rskim",
]
resolver = "2"
# Shared dependencies across workspace
[workspace.dependencies]
# Updated to 0.25 for ABI 15 compatibility (required for markdown support)
# tree-sitter 0.25 supports ABI 15, matching the 0.25.x grammar crates
tree-sitter = "0.25"
tree-sitter-typescript = "0.23" # Keep 0.23 - latest stable (ABI 14)
tree-sitter-javascript = "0.25" # ABI 15
tree-sitter-python = "0.25" # ABI 15
tree-sitter-rust = "0.24" # ABI 14
tree-sitter-go = "0.25" # ABI 15
tree-sitter-java = "0.23" # Keep 0.23 - latest stable (ABI 14)
tree-sitter-md = "0.5" # Requires ABI 15 (tree-sitter 0.25+)
tree-sitter-c = "0.24" # ABI 14
tree-sitter-cpp = "0.23" # ABI 14
toml = "0.8"
thiserror = "1.0"
anyhow = "1.0"
globset = "0.4"
ignore = "0.4"
rayon = "1.10"
dirs = "6.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml_ng = "0.10"
sha2 = "0.10"
tiktoken-rs = "0.7"
clap_complete = "4.5"
strip-ansi-escapes = "0.2"
[workspace.metadata.dist]
cargo-dist-version = "0.14.0"
ci = ["github"]
installers = ["shell", "npm"]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc"
]
# npm package name (unscoped)
[workspace.metadata.dist.npm]
package = "rskim"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true