-
Notifications
You must be signed in to change notification settings - Fork 47
/
Cargo.toml
43 lines (32 loc) · 965 Bytes
/
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
[package]
name = "wasabi_wasm"
version = "0.7.0"
authors = ["Daniel Lehmann <mail@dlehmann.eu>"]
edition = "2021"
[dependencies]
# For low-level WebAssembly parsing/encoding.
wasmparser = "0.96.0"
wasm-encoder = "0.20.0"
ordered-float = "3.4.0"
thiserror = "1.0.38"
rayon = "1.8.0"
serde = { version = "1.0.152", features = ["derive"] }
# For safe globally initialized data.
once_cell = "1.17.0"
# For faster hash function in HashSet/HashMap.
rustc-hash = "1.1.0"
nohash-hasher = "0.2.0"
smallvec = "1.10.0"
[target.'cfg(target_os = "windows")'.dependencies]
# Change the global allocator.
# Improves parallel parsing performance under Windows 10 enourmously, by >7x (!).
# Disable security features for additional performance.
mimalloc = { version = "0.1.32", default-features = false }
[dev-dependencies]
test_utilities = { path = "../test_utilities" }
bencher = "0.1.5"
criterion = "0.4.0"
dashmap = "5.4.0"
[[bench]]
name = "parser"
harness = false