-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (32 loc) · 1.02 KB
/
Cargo.toml
File metadata and controls
41 lines (32 loc) · 1.02 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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
edition = "2021"
[workspace.dependencies]
rspack_cacheable = { version = "=0.5.8" }
rspack_collections = { version = "=0.5.8" }
rspack_core = { version = "=0.5.8" }
rspack_error = { version = "=0.5.8" }
rspack_hook = { version = "=0.5.8" }
async-trait = { version = "0.1" }
rspack_sources = { version = "0.4.8" }
rspack_binding_build = { version = "=0.5.8" }
rspack_binding_builder = { version = "=0.5.8" }
rspack_binding_builder_macros = { version = "=0.5.8" }
napi = { version = "=3.2.2" }
napi-derive = { version = "=3.2.2" }
# Copied from https://github.com/web-infra-dev/rspack/blob/main/Cargo.toml
[profile.dev]
codegen-units = 16
debug = 2
incremental = true
panic = "abort"
[profile.release]
codegen-units = 1
debug = false
# Performs “fat” LTO which attempts to perform optimizations across all crates within the dependency graph.
lto = "fat"
opt-level = 3
panic = "abort"
strip = true