forked from web-infra-dev/rspack
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
80 lines (76 loc) · 3.22 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]
members = ["crates/*"]
resolver = "2" # See https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
[workspace.dependencies]
anyhow = { version = "1.0.71", features = ["backtrace"] }
async-recursion = { version = "1.0.4" }
async-scoped = { version = "0.7.1" }
async-trait = { version = "0.1.71" }
backtrace = "0.3"
better_scoped_tls = { version = "0.1.1" }
bitflags = { version = "1.3.2" }
colored = { version = "2.0.4" }
concat-string = "1.0.1"
dashmap = { version = "5.5.0" }
derivative = { version = "2.2.0" }
derive_builder = { version = "0.11.2" }
futures = { version = "0.3.28" }
futures-util = { version = "0.3.28" }
glob = { version = "0.3.1" }
hashlink = { version = "0.8.3" }
indexmap = { version = "1.9.3" }
insta = { version = "1.30.0" }
itertools = { version = "0.10.5" }
json = { version = "0.12.4" }
linked_hash_set = { version = "0.1.4" }
mimalloc-rust = { version = "0.2" }
mime_guess = { version = "2.0.4" }
once_cell = { version = "1.18.0" }
paste = { version = "1.0" }
path-clean = { version = "1.0.1" }
pathdiff = { version = "0.2.1" }
preset_env_base = { version = "0.4.6" }
rayon = { version = "1.7.0" }
regex = { version = "1.9.1" }
rkyv = { version = "0.7.42" }
rspack_sources = { version = "0.2.7" }
rustc-hash = { version = "1.1.0" }
schemars = { version = "0.8.12" }
serde = { version = "1.0.171" }
serde_json = { version = "1.0.100" }
similar = { version = "2.2.1" }
sugar_path = { version = "0.0.12" }
testing_macros = { version = "0.2.11" }
tokio = { version = "1.29.1" }
tracing = { version = "0.1.37" }
tracing-subscriber = { version = "0.3.17" }
url = { version = "2.4.0" }
urlencoding = { version = "2.1.2" }
ustr = { version = "0.9.0" }
xxhash-rust = { version = "0.8.6" }
# Pinned
napi = { version = "=2.13.3" }
napi-build = { version = "=2.0.1" }
napi-derive = { version = "=2.13.0" }
napi-sys = { version = "=2.2.3" }
styled_components = { version = "0.77.0" }
swc_config = { version = "=0.1.7" }
swc_core = { version = "0.86.33", default-features = false }
swc_css = { version = "0.157.6" }
swc_ecma_minifier = { version = "0.189.28", default-features = false }
swc_emotion = { version = "=0.53.0" }
swc_error_reporters = { version = "=0.17.2" }
swc_html = { version = "=0.134.29" }
swc_html_minifier = { version = "=0.131.29" }
swc_node_comments = { version = "=0.20.2" }
tikv-jemallocator = { version = "=0.5.4", features = ["disable_initial_exec_tls"] }
[profile.dev]
codegen-units = 16 # debug build will cause runtime panic if codegen-unints is default
debug = 2
incremental = true
[profile.release]
codegen-units = 1
debug = false
lto = false # disabled by now, because it will significantly increase our compile time.
opt-level = 3
strip = true