-
Notifications
You must be signed in to change notification settings - Fork 138
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (49 loc) · 1.53 KB
/
Copy pathCargo.toml
File metadata and controls
52 lines (49 loc) · 1.53 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
[workspace]
resolver = "2"
members = [
"packages/genui/ui-judge",
"packages/lynx/engine-bridge/lynx",
"packages/lynx/headless-rust-test-runner",
"packages/react/transform",
"packages/react/transform/crates/*",
"packages/react/transform/swc-plugin-reactlynx",
"packages/react/transform/swc-plugin-reactlynx-compat",
"packages/web-platform/web-core",
"packages/web-platform/web-elements",
]
[workspace.dependencies]
convert_case = "0.11.0"
dashmap = "5.5.3"
hex = "0.4.3"
indexmap = "2.14.0"
js-sys = "0.3.103"
lazy_static = "1.5.0"
# Pinned exactly: napi 2.16 emits a second `napi_register_wasm_v1` definition,
# which breaks the wasm32 build of `react-transform` with `symbol multiply
# defined`. The renovate `ignoreDeps` entry for napi does not cover lock file
# maintenance, so a caret range lets `cargo update` reintroduce the break.
napi = { version = "=2.10.4", default-features = false, features = ["napi4"] }
napi-derive = "=2.9.3"
once_cell = "1.21.4"
regex = "1.13.1"
rustc-hash = "2.1.3"
semver = "1.0.28"
serde = "1.0.229"
serde_json = "1.0.151"
sha-1 = "0.10.1"
sha2 = "0.11.0"
sugar_path = "1.2.1"
swc_core = "76.0.0"
swc_sourcemap = "10.0.2"
tokio = "1.53.1"
version-compare = "0.2.1"
# The bindgen schema must match the `wasm-bindgen` CLI pinned by dotslash in
# packages/web-platform/web-core/scripts/wasm-bindgen exactly, so pin the crate
# instead of letting `cargo update` drift it. Bump both together.
wasm-bindgen = "=0.2.126"
web-sys = "0.3.103"
[profile.release]
codegen-units = 1
# debug = true
lto = true
opt-level = "s"