2017-12-22 15:51:36 +03:00
|
|
|
[workspace]
|
2021-08-25 18:07:09 +03:00
|
|
|
members = [
|
2021-11-10 10:39:01 +03:00
|
|
|
"crates/jsdoc",
|
2021-11-09 14:42:49 +03:00
|
|
|
"crates/node",
|
2021-12-20 09:03:00 +03:00
|
|
|
"crates/swc_cli",
|
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",
|
2021-11-26 09:04:41 +03:00
|
|
|
"crates/swc_webpack_ast",
|
2021-11-09 14:42:49 +03:00
|
|
|
"crates/wasm",
|
2021-08-25 18:07:09 +03:00
|
|
|
]
|
2017-12-22 15:51:36 +03:00
|
|
|
|
2022-03-13 11:17:55 +03:00
|
|
|
default-members = [
|
|
|
|
"crates/jsdoc",
|
|
|
|
"crates/swc_cli",
|
|
|
|
"crates/swc_css",
|
|
|
|
"crates/swc_css_lints",
|
2022-03-25 13:46:45 +03:00
|
|
|
"crates/swc_css_prefixer",
|
2022-03-13 11:17:55 +03:00
|
|
|
"crates/swc_ecmascript",
|
|
|
|
"crates/swc_ecma_lints",
|
|
|
|
"crates/swc_ecma_quote",
|
|
|
|
"crates/swc_estree_compat",
|
|
|
|
"crates/swc_plugin",
|
|
|
|
"crates/swc_plugin_macro",
|
|
|
|
"crates/swc_plugin_runner",
|
|
|
|
"crates/swc_plugin_testing",
|
|
|
|
"crates/swc_timer",
|
|
|
|
"crates/swc_webpack_ast",
|
|
|
|
]
|
|
|
|
|
2020-03-01 14:05:03 +03:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
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]
|
2019-11-23 07:03:29 +03:00
|
|
|
codegen-units = 1
|
2020-09-18 08:29:50 +03:00
|
|
|
debug = true
|
2021-08-07 11:27:52 +03:00
|
|
|
|
|
|
|
# Without this, printing diff consumes more than a minute.
|
|
|
|
|
|
|
|
[profile.dev.package.pretty_assertions]
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[profile.test.package.pretty_assertions]
|
|
|
|
opt-level = 3
|
2022-01-06 11:03:28 +03:00
|
|
|
|
|
|
|
[patch.crates-io]
|
2022-02-27 18:31:19 +03:00
|
|
|
cranelift-codegen = { git = "https://github.com/kdy1/wasmtime", branch = "tls" }
|
|
|
|
cranelift-entity = { git = "https://github.com/kdy1/wasmtime", branch = "tls" }
|