-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (35 loc) · 856 Bytes
/
Cargo.toml
File metadata and controls
39 lines (35 loc) · 856 Bytes
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
[package]
name = "lingui_macro_plugin"
version = "6.0.0"
edition = "2021"
[lib]
crate-type = ["cdylib", 'rlib']
[profile.release]
# This removes more dead code
codegen-units = 1
lto = false
# Optimize for size
opt-level = "s"
# Optimize for performance, this is default so you don't need to specify it
# opt-level = "z"
[dependencies]
data-encoding = "2.3.3"
sha2 = "0.10.8"
serde = "1.0.207"
serde_json = "1.0.125"
regex = "1.10.6"
once_cell = "1.19.0"
swc_core = { version = "50.2.3", features = [
"ecma_plugin_transform",
"ecma_utils",
"ecma_visit",
"ecma_ast",
"ecma_parser",
"ecma_codegen",
"common",
] }
# .cargo/config defines few alias to build plugin.
# cargo build-wasi generates wasm-wasi32 binary
# cargo build-wasm32 generates wasm32-unknown-unknown binary.
[dev-dependencies]
insta = { version = "1", features = ["serde"] }