-
Notifications
You must be signed in to change notification settings - Fork 228
Expand file tree
/
Copy pathCargo.toml
More file actions
215 lines (178 loc) · 6.33 KB
/
Copy pathCargo.toml
File metadata and controls
215 lines (178 loc) · 6.33 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
[workspace]
# Try
# require version 2 to avoid "feature" additiveness for dev-dependencies
# https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
resolver = "2"
members = ["crates/*", "examples/*", "xtask"]
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
readme = "README.md"
rust-version = "1.95"
version = "0.11.0-pre.2"
[workspace.lints.rust]
warnings = "warn"
[workspace.lints.clippy]
doc_markdown = "warn"
[workspace.lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"
[workspace.dependencies]
bitflags = { version = "2.13.1", features = ["serde"] }
derive-new = { version = "0.7.0", default-features = false }
derive_more = { version = "2", default-features = false }
num = "0.4"
oneshot = { version = "0.2.1", default-features = false }
tynm = { version = "0.2" }
clap = { version = "4.6" }
log = { default-features = false, version = "^0.4.22" }
tokio = { version = "^1.53.1", default-features = false }
test-log = { version = "^0.2", default-features = false }
tracing = { version = "^0.1.43", default-features = false }
tracing-opentelemetry = "^0.33.0"
tracing-subscriber = "^0.3.20"
opentelemetry = "^0.32.0"
opentelemetry-otlp = "^0.32.0"
opentelemetry_sdk = "^0.32.0"
ciborium = { version = "0.2.2", default-features = false }
fnv = "1"
serde = { version = "1.0.204", default-features = false, features = [
"derive",
"alloc",
] } # alloc is for no_std, derive is needed
serde_bytes = { version = "0.11.17", default-features = false, features = [
"alloc",
] } # alloc for no_std
serde_json = { version = "1.0.119", default-features = false }
toml = "1"
variadics_please = "2"
# no_std compatibility
dashmap = "6.1.0"
foldhash = { version = "0.2", default-features = false }
hashbrown = "0.17"
smallvec = { version = "1", features = [
"union",
"const_generics",
"const_new",
] }
spin = { version = "0.12.2", features = ["mutex", "spin_mutex", "lazylock"] }
xxhash-rust = { version = "0.8", default-features = false }
rand = { version = "0.10.0", default-features = false, features = [
"std_rng",
] } # std_rng is for no_std
async-channel = { version = "2.3", default-features = false }
backtrace = { version = "0.3", default-features = false }
embassy-time = { version = "0.5", default-features = false }
etcetera = "0.11.0"
js-sys = "0.3"
md5 = "0.8.0"
parking_lot = { version = "0.12.5", default-features = false }
rusqlite = { version = "0.40", features = ["bundled"] }
sanitize-filename = "0.6"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.45"
web-sys = "0.3"
web-time = "1.1.0"
# Testing
criterion = { version = "0.8", features = ["html_reports"] }
rstest = "0.26"
serial_test = "4"
tempfile = "3.20"
bytemuck = "1.16.1"
bytes = { version = "1.10", default-features = false }
float-ord = "0.3"
float4 = "0.2"
float8 = { version = "0.7", default-features = false }
half = { version = "2.5", features = [
"alloc",
"num-traits",
"serde",
], default-features = false }
num-integer = { version = "0.1", default-features = false }
num-traits = { version = "0.2.19", default-features = false, features = [
"libm",
] } # libm is for no_std
buildid = "1.0.5" # 1.0.5 is the min required for a fix
bumpalo = "3"
cfg-if = "1.0.0"
enumset = { version = "1.1", default-features = false }
ident_case = "1"
internment = "0.8"
itertools = { version = "0.15", default-features = false, features = [
"use_alloc",
] }
paste = "1"
thiserror = { version = "2", default-features = false }
tracy-client = { version = "0.18.0" }
darling = "0.24"
prettyplease = "0.3"
proc-macro2 = "1"
quote = "1"
syn = { version = "3", features = ["full", "extra-traits", "visit-mut"] }
portable-atomic = { version = "1.14", default-features = false, features = [
"serde",
] }
portable-atomic-util = { version = "0.2.4", features = ["alloc"] }
pretty_assertions = "1.4"
# Async
embassy-futures = { version = "0.1.1" } # for no-std
futures-lite = { version = "2.3.0", default-features = false }
futures-util = { version = "0.3.32", default-features = false, features = [
"alloc",
] }
# CubeCL-CPU
libc = "^0.2.186"
sysinfo = "0.39"
winapi = { version = "^0.3.9", features = [
"processthreadsapi",
"processtopologyapi",
"sysinfoapi",
"winbase",
] }
inflections = "1"
# Crates.io
pliron = { version = "0.17", default-features = false }
pliron-llvm = { version = "0.17", default-features = false }
# Path
# pliron = { path = "../pliron", default-features = false }
# pliron-llvm = { path = "../pliron/pliron-llvm", default-features = false }
# Git
# pliron = { git = "https://github.com/pliron-org/pliron.git", rev = "4035fde349a97096dc5ef4a040cc14ca9c451ae9", default-features = false }
# pliron-llvm = { git = "https://github.com/pliron-org/pliron.git", rev = "4035fde349a97096dc5ef4a040cc14ca9c451ae9", default-features = false }
# These features stop llvm-sys from resolving LLVM itself; cubecl-llvm's build.rs
# links the bundled toolchain instead.
llvm-sys = { version = "221", features = [
"no-llvm-linking",
"disable-alltargets-init",
] }
tracel-llvm-bundler = { git = "https://github.com/tracel-ai/tracel-llvm.git", rev = "0853480b12e88872d9e3aea23246cfcd8c6205a5" }
cudarc = { version = "0.19.6", features = [
"std",
"driver",
"nvrtc",
"nccl",
"fallback-dynamic-loading",
"cuda-version-from-build-system",
"fallback-latest",
], default-features = false } # CubeCL-CUDA
# CubeCL-SPIR-V
pliron-spirv = "0.14.1"
rspirv = { version = "0.14.1", package = "tracel-rspirv" }
# pliron-spirv = { package = "pliron-spirv", path = "../tracel-rspirv/pliron-spirv" }
# rspirv = { package = "tracel-rspirv", path = "../tracel-rspirv/rspirv" }
# pliron-spirv = { git = "https://github.com/tracel-ai/tracel-rspirv.git", rev = "7c59c46f4248ba92e3b06d411c0a2e8cce379025" }
# rspirv = { git = "https://github.com/tracel-ai/tracel-rspirv.git", rev = "7c59c46f4248ba92e3b06d411c0a2e8cce379025", package = "tracel-rspirv" }
rustc_apfloat = "0.2"
# CubeCL-WGPU
ash = "0.38"
tracel-ash = "0.39.5"
# tracel-ash = { path = "../tracel-ash/crates/ash" }
# wgpu = { git = "https://github.com/gfx-rs/wgpu.git", rev = "bde709122f8320571ab1733ab055dcb54415a483" }
wgpu = "^30.0.0"
wgpu-hal = "^30.0.0"
# wgpu-hal = { git = "https://github.com/gfx-rs/wgpu.git", rev = "bde709122f8320571ab1733ab055dcb54415a483" }
renderdoc = "0.12"
# Build deps
cfg_aliases = "0.2.2"
[profile.dev.build-override]
opt-level = 3