1 | [workspace]
|
2 | members = ["ecmascript", "ecmascript/jsdoc", "native", "spack", "wasm"]
|
3 |
|
4 | [package]
|
5 | name = "swc"
|
6 | version = "0.1.0"
|
7 | authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
8 | license = "Apache-2.0/MIT"
|
9 | repository = "https://github.com/swc-project/swc.git"
|
10 | documentation = "https://swc-project.github.io/rustdoc/swc/"
|
11 | description = "Speedy web compiler"
|
12 | edition = "2018"
|
13 |
|
14 | [lib]
|
15 | name = "swc"
|
16 |
|
17 | [dependencies]
|
18 | swc_atoms = { path ="./atoms" }
|
19 | swc_common = { path ="./common", features = ["sourcemap", "concurrent"] }
|
20 | swc_ecma_ast = { path ="./ecmascript/ast" }
|
21 | swc_ecma_codegen = { path ="./ecmascript/codegen" }
|
22 | swc_ecma_parser = { path ="./ecmascript/parser" }
|
23 | swc_ecma_preset_env = { path ="./ecmascript/preset_env" }
|
24 | swc_ecma_transforms = { path ="./ecmascript/transforms", features = ["const-modules", "react"] }
|
25 | swc_ecma_visit = { path ="./ecmascript/visit" }
|
26 | swc_visit = { path ="./visit" }
|
27 | anyhow = "1"
|
28 | log = { version = "0.4", features = ["release_max_level_info"] }
|
29 | serde = { version = "1", features = ["derive"] }
|
30 | serde_json = "1"
|
31 | once_cell = "1"
|
32 | regex = "1"
|
33 | either = "1"
|
34 | dashmap = "3"
|
35 | sourcemap = "6"
|
36 | base64 = "0.12.0"
|
37 |
|
38 | [dev-dependencies]
|
39 | testing = { path = "./testing" }
|
40 | walkdir = "2"
|
41 | rayon = "1"
|
42 |
|
43 | [[example]]
|
44 | name = "usage"
|
45 |
|
46 | [profile.release]
|
47 | codegen-units = 1
|
48 | lto = true
|
49 |
|
50 |
|
51 |
|
52 | [profile.bench]
|
53 | codegen-units = 1
|
54 | debug = true |
\ | No newline at end of file |