-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
60 lines (53 loc) · 1.55 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
[package]
authors = ["Havunen <[email protected]>"]
description = "SWC plugin for InfernoJS."
documentation = "https://github.com/infernojs/swc-plugin-inferno"
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs"]
license = "MIT"
name = "swc-plugin-inferno"
repository = "https://github.com/infernojs/swc-plugin-inferno.git"
version = "1.0.0"
[lib]
crate-type = ["cdylib", "rlib"]
bench = false
[features]
concurrent = ["rayon"]
default = ["serde-impl"]
serde-impl = ["serde"]
[profile.release]
# This removes more dead code
codegen-units = 1
lto = true
# Optimize for size
opt-level = "s"
# Strip debug symbols
strip = "symbols"
[dependencies]
base64 = "0.22.1"
dashmap = "6.1.0"
indexmap = "2.6.0"
once_cell = "1.20.2"
rayon = { version = "1.10.0", optional = true }
serde = { version = "1.0.210", features = ["derive"], optional = true }
sha-1 = "=0.10.1"
swc_core = { version = "1.0.3", features = [
"swc_atoms",
"swc_common",
"swc_ecma_ast",
"swc_ecma_utils",
"ecma_plugin_transform",
"ecma_utils",
"ecma_visit",
"ecma_ast",
"common",
] }
swc_ecma_parser = { version = "1.0.1" }
swc_config = { version = "1.0.0" }
[dev-dependencies]
swc_ecma_codegen = { version = "1.0.0" }
swc_ecma_transforms_compat = { version = "1.0.0" }
swc_ecma_transforms_module = { version = "1.0.0" }
swc_ecma_transforms_testing = { version = "1.0.0" }
swc_ecma_transforms = { version = "1.0.0" }
testing = { version = "1.0.0" }