-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathCargo.toml
More file actions
138 lines (108 loc) · 2.92 KB
/
Cargo.toml
File metadata and controls
138 lines (108 loc) · 2.92 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[workspace]
resolver = "2"
members = [
"crates/brdev",
"crates/forester",
"crates/*",
]
default-members = ["crates/brdev", "crates/forester"]
[workspace.package]
edition = "2024"
license = "Apache-2.0 OR MIT"
[workspace.dependencies]
crumbly-core = { path = "crates/crumbly-core", version = "0.1" }
# CLI and parsing
clap = { version = "4", features = ["derive", "color"] }
clap-cargo = "0.14"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# Error handling
miette = { version = "7", features = ["fancy"] }
snafu = "0.8"
tracing = "0.1"
# Builders and types
bon = "3"
nutype = { version = "0.5", features = ["serde"] }
# Embeddings and ML
gemm = { version = "0.19", default-features = false, features = ["std", "rayon"] }
candle-core = { version = "0.9", default-features = false }
candle-nn = { version = "0.9", default-features = false }
candle-transformers = { version = "0.9", default-features = false }
hf-hub = { version = "0.4", default-features = false, features = ["tokio", "rustls-tls"] }
tokenizers = { version = "0.22", features = ["http", "rustls-tls"] }
# Database
rusqlite = { version = "0.32", features = ["bundled", "functions"] }
sqlite-vec = "0.1"
# Cryptography
sha2 = "0.10"
# Text processing
text-splitter = { version = "0.28", features = ["markdown", "tokenizers"] }
quote = "1"
syn = { version = "2", features = ["full", "extra-traits"] }
tree-sitter = "0.24"
tree-sitter-go = "0.23"
tree-sitter-bash = "0.23"
tree-sitter-java = "0.23"
tree-sitter-kotlin-ng = "1.1"
tree-sitter-c = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-typescript = "0.23"
# File format detection
file-format = "0.26"
# File system and paths
globset = "0.4"
ignore = "0.4"
path-clean = "1"
pathdiff = "0.2"
dirs = "5"
# Concurrency
rayon = "1"
crossbeam-channel = "0.5"
# System info
sysinfo = "0.38"
# HTTP
reqwest = { version = "0.13", default-features = false, features = ["rustls"] }
# Time and dates
chrono = { version = "0.4", features = ["serde"] }
timeago = "0.4"
# UUIDs
uuid = { version = "1", features = ["v4", "serde"] }
# UI and progress
indicatif = { version = "0.17", features = ["rayon"] }
owo-colors = { version = "4", features = ["supports-colors"] }
# Configuration
dotenvy = "0.15"
envy = "0.4"
# Linting
inventory = "0.3"
olpc-cjson = "0.1"
walkdir = "2"
# Testing
assert_cmd = "2"
mockall = "0.13"
serial_test = "3"
tempfile = "3"
test-case = "3"
[workspace.lints.clippy]
all = "deny"
unwrap_used = "deny"
expect_used = "deny"
[workspace.lints.rust]
missing_docs = "deny"
# Compile gemm crates with opt-level=1 in dev profile to avoid fullfp16 issues on ARM64
[profile.dev.package.gemm]
opt-level = 1
[profile.dev.package.gemm-common]
opt-level = 1
[profile.dev.package.gemm-f16]
opt-level = 1
[profile.dev.package.gemm-f32]
opt-level = 1
[profile.dev.package.gemm-f64]
opt-level = 1
[profile.dev.package.gemm-c32]
opt-level = 1
[profile.dev.package.gemm-c64]
opt-level = 1