2017-12-22 15:51:36 +03:00
|
|
|
[workspace]
|
2020-07-31 12:49:07 +03:00
|
|
|
members = ["ecmascript", "native", "spack", "wasm"]
|
2017-12-22 15:51:36 +03:00
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "swc"
|
|
|
|
version = "0.1.0"
|
2019-10-25 04:11:24 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2018-11-18 08:00:07 +03:00
|
|
|
license = "Apache-2.0/MIT"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
|
|
documentation = "https://swc-project.github.io/rustdoc/swc/"
|
|
|
|
description = "Speedy web compiler"
|
2019-10-25 04:11:24 +03:00
|
|
|
edition = "2018"
|
2017-12-22 15:51:36 +03:00
|
|
|
|
2018-12-21 10:54:36 +03:00
|
|
|
[lib]
|
2018-01-27 09:14:53 +03:00
|
|
|
name = "swc"
|
|
|
|
|
2017-12-22 15:51:36 +03:00
|
|
|
[dependencies]
|
2020-02-05 14:20:25 +03:00
|
|
|
swc_atoms = { path ="./atoms" }
|
2020-08-03 19:33:23 +03:00
|
|
|
swc_common = { path ="./common", features = ["sourcemap", "concurrent"] }
|
2020-07-31 12:49:07 +03:00
|
|
|
swc_ecma_ast = { path ="./ecmascript/ast" }
|
|
|
|
swc_ecma_codegen = { path ="./ecmascript/codegen" }
|
|
|
|
swc_ecma_parser = { path ="./ecmascript/parser" }
|
|
|
|
swc_ecma_preset_env = { path ="./ecmascript/preset_env" }
|
2020-08-03 19:33:23 +03:00
|
|
|
swc_ecma_transforms = { path ="./ecmascript/transforms", features = ["const-modules", "react"] }
|
2020-07-31 12:49:07 +03:00
|
|
|
swc_ecma_visit = { path ="./ecmascript/visit" }
|
2020-07-23 20:18:22 +03:00
|
|
|
swc_visit = { path ="./visit" }
|
2020-03-27 08:40:01 +03:00
|
|
|
anyhow = "1"
|
2020-02-17 09:56:41 +03:00
|
|
|
log = { version = "0.4", features = ["release_max_level_info"] }
|
2019-10-25 04:11:24 +03:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
2020-01-30 17:29:12 +03:00
|
|
|
once_cell = "1"
|
2019-10-25 04:11:24 +03:00
|
|
|
regex = "1"
|
2019-12-28 05:25:54 +03:00
|
|
|
either = "1"
|
2020-02-29 04:29:34 +03:00
|
|
|
dashmap = "=3.5.1"
|
2020-06-20 09:09:57 +03:00
|
|
|
sourcemap = "6"
|
2020-03-13 17:34:36 +03:00
|
|
|
base64 = "0.12.0"
|
2019-10-25 04:11:24 +03:00
|
|
|
|
2019-11-26 04:08:48 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
testing = { path = "./testing" }
|
|
|
|
walkdir = "2"
|
2020-02-17 09:56:41 +03:00
|
|
|
rayon = "1"
|
2019-11-26 04:08:48 +03:00
|
|
|
|
2019-10-25 04:11:24 +03:00
|
|
|
[[example]]
|
|
|
|
name = "usage"
|
2018-01-12 10:53:06 +03:00
|
|
|
|
2020-03-01 14:05:03 +03:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
2020-05-22 14:36:39 +03:00
|
|
|
lto = true
|
2020-05-23 09:36:04 +03:00
|
|
|
# debug = true
|
2020-08-03 19:33:23 +03:00
|
|
|
opt-level = 'z'
|
2020-03-01 14:05:03 +03:00
|
|
|
|
2018-01-12 10:53:06 +03:00
|
|
|
[profile.bench]
|
2019-11-23 07:03:29 +03:00
|
|
|
codegen-units = 1
|
2020-02-05 14:20:25 +03:00
|
|
|
#lto = true
|
2020-03-01 14:05:03 +03:00
|
|
|
debug = true
|