-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathCargo.toml
80 lines (65 loc) · 2.08 KB
/
Cargo.toml
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
[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 = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
version = "0.5.0"
[workspace.dependencies]
bitflags = { version = "2.8.0", features = ["serde"] }
derive-new = { version = "0.6.0", default-features = false }
derive_more = { version = "1", default-features = false }
log = { default-features = false, version = "0.4.22" }
serde = { version = "1.0.204", default-features = false, features = [
"derive",
"alloc",
] } # alloc is for no_std, derive is needed
serde_json = { version = "1.0.119", default-features = false }
dashmap = "5.5.3"
hashbrown = "0.14.5"
spin = { version = "0.9.8", features = ["mutex", "spin_mutex"] }
getrandom = { version = "0.2.15", default-features = false }
rand = { version = "0.8.5", default-features = false, features = [
"std_rng",
] } # std_rng is for no_std
async-channel = "2.3"
dirs = "5.0.1"
md5 = "0.7.0"
sanitize-filename = "0.5"
wasm-bindgen-futures = "0.4.45"
weak-table = "0.3"
web-time = "1.1.0"
# Testing
rstest = "0.19.0"
serial_test = "3.1.1"
bytemuck = "1.16.1"
half = { version = "2.4.1", features = [
"alloc",
"num-traits",
"serde",
], default-features = false }
num-traits = { version = "0.2.19", default-features = false, features = [
"libm",
] } # libm is for no_std
cfg-if = "1.0.0"
darling = "0.20.10"
ident_case = "1"
paste = "1.0.15"
proc-macro2 = "1.0.86"
quote = "1.0.36"
syn = { version = "2", features = ["full", "extra-traits", "visit-mut"] }
### For xtask crate ###
strum = { version = "0.26.3", features = ["derive"] }
tracel-xtask = { version = "=1.1.8" }
portable-atomic = { version = "1.9" }
pretty_assertions = "1.4"
# Async
embassy-futures = { version = "0.1.1" } # for no-std
futures-lite = { version = "2.3.0", default-features = false }
[profile.dev]
debug = 0 # Speed up compilation time and not necessary.
opt-level = 0