-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (43 loc) · 1.79 KB
/
Copy pathCargo.toml
File metadata and controls
48 lines (43 loc) · 1.79 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
[workspace]
resolver = "2"
members = ["crates/code-worker"]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.90"
license = "MIT"
authors = ["Query Farm LLC <hello@query.farm>"]
repository = "https://github.com/Query-farm/vgi-code"
[workspace.dependencies]
# VGI Rust SDK (worker side), published on crates.io. Pulls in vgi-rpc 0.5 and
# arrow 59 transitively; keep arrow/vgi-rpc here in lockstep with vgi's pins so a
# single arrow/vgi-rpc resolves.
vgi = "0.11.0"
vgi-rpc = { version = "0.8.0", default-features = false, features = ["macros", "http"] }
arrow-array = "59"
arrow-buffer = "59"
arrow-schema = "59"
# tree-sitter parsing core. Pinned to the 0.25 line: its MSRV (1.76) is under the
# workspace rust-version (1.86), and — like every grammar crate below — it depends
# only on the ABI-stable `tree-sitter-language ^0.1` shim, so the grammars' exported
# `LANGUAGE: LanguageFn` constants unify with this core. (0.25's `Query` matches are
# a `streaming-iterator`, hence the `streaming-iterator` dep.) 0.26 also works but
# we stay on the well-worn 0.25 line.
tree-sitter = "0.25"
streaming-iterator = "0.1"
# Grammar crates. Each exposes a `LANGUAGE: LanguageFn` (via `tree-sitter-language
# ^0.1`) and is otherwise independent of the core version — that shim is what makes
# the otherwise-divergent grammar versions (0.23–0.25) all link against one
# `tree-sitter` core. Versions are the latest stable for each as of pinning. All
# crates are MIT (grammars) / MIT-or-Apache — documented in README/CLAUDE.md.
tree-sitter-rust = "0.24"
tree-sitter-python = "0.25"
tree-sitter-javascript = "0.25"
tree-sitter-typescript = "0.23"
tree-sitter-go = "0.25"
tree-sitter-java = "0.23"
tree-sitter-c = "0.24"
tree-sitter-cpp = "0.23"
tree-sitter-json = "0.24"
[profile.release]
opt-level = 2