2017-12-22 15:51:36 +03:00
|
|
|
[workspace]
|
2021-08-25 18:07:09 +03:00
|
|
|
members = [
|
2023-10-05 11:34:51 +03:00
|
|
|
"xtask",
|
2022-08-02 10:25:59 +03:00
|
|
|
"crates/swc_core",
|
2023-10-02 18:46:14 +03:00
|
|
|
"crates/swc_cli_impl",
|
2022-05-13 09:05:21 +03:00
|
|
|
"crates/dbg-swc",
|
2021-11-10 10:39:01 +03:00
|
|
|
"crates/jsdoc",
|
2022-08-10 06:10:19 +03:00
|
|
|
"crates/binding_macros",
|
2021-11-12 13:37:05 +03:00
|
|
|
"crates/swc_css",
|
2022-02-27 18:31:19 +03:00
|
|
|
"crates/swc_css_lints",
|
2022-03-25 13:46:45 +03:00
|
|
|
"crates/swc_css_prefixer",
|
2021-11-12 13:37:05 +03:00
|
|
|
"crates/swc_ecmascript",
|
2021-12-19 15:07:51 +03:00
|
|
|
"crates/swc_ecma_lints",
|
2022-02-27 16:21:38 +03:00
|
|
|
"crates/swc_ecma_quote",
|
2021-11-23 23:34:41 +03:00
|
|
|
"crates/swc_estree_compat",
|
2022-04-04 07:12:45 +03:00
|
|
|
"crates/swc_html",
|
2021-11-09 14:42:49 +03:00
|
|
|
"crates/swc_plugin",
|
2022-01-12 12:32:52 +03:00
|
|
|
"crates/swc_plugin_macro",
|
2021-11-09 14:42:49 +03:00
|
|
|
"crates/swc_plugin_runner",
|
|
|
|
"crates/swc_plugin_testing",
|
2022-04-09 10:47:43 +03:00
|
|
|
"crates/swc_plugin_proxy",
|
2021-11-22 15:01:08 +03:00
|
|
|
"crates/swc_timer",
|
2022-08-01 06:56:12 +03:00
|
|
|
"crates/swc_xml",
|
2022-03-13 11:17:55 +03:00
|
|
|
]
|
2023-07-13 05:07:25 +03:00
|
|
|
resolver = "2"
|
2020-03-01 14:05:03 +03:00
|
|
|
[profile.release]
|
2022-06-14 09:43:13 +03:00
|
|
|
# lto = true
|
2022-02-10 11:35:15 +03:00
|
|
|
|
|
|
|
# We use CARGO_PROFILE_RELEASE_LTO for production builds
|
|
|
|
# lto = "fat"
|
|
|
|
|
2020-05-23 09:36:04 +03:00
|
|
|
# debug = true
|
2020-08-17 09:04:08 +03:00
|
|
|
# opt-level = 'z'
|
2020-03-01 14:05:03 +03:00
|
|
|
|
2018-01-12 10:53:06 +03:00
|
|
|
[profile.bench]
|
2020-09-18 08:29:50 +03:00
|
|
|
debug = true
|
2022-09-04 16:18:05 +03:00
|
|
|
# lto = true
|
2021-08-07 11:27:52 +03:00
|
|
|
|
2023-10-11 15:40:49 +03:00
|
|
|
# Optimize for iteration
|
|
|
|
[profile.dev.build-override]
|
2021-08-07 11:27:52 +03:00
|
|
|
opt-level = 3
|
|
|
|
|
2023-10-11 15:40:49 +03:00
|
|
|
[profile.dev.package."*"]
|
|
|
|
opt-level = 3
|