UNPKG

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