swc/Cargo.toml

65 lines
1.5 KiB
TOML
Raw Normal View History

2017-12-22 15:51:36 +03:00
[workspace]
members = [
"crates/jsdoc",
2021-11-09 14:42:49 +03:00
"crates/node",
"crates/swc_cli",
2021-11-12 13:37:05 +03:00
"crates/swc_css",
"crates/swc_css_lints",
2021-11-12 13:37:05 +03:00
"crates/swc_ecmascript",
"crates/swc_ecma_lints",
"crates/swc_ecma_quote",
"crates/swc_estree_compat",
2021-11-09 14:42:49 +03:00
"crates/swc_plugin",
"crates/swc_plugin_macro",
2021-11-09 14:42:49 +03:00
"crates/swc_plugin_runner",
"crates/swc_plugin_testing",
2021-11-12 13:37:05 +03:00
"crates/swc_stylis",
"crates/swc_timer",
"crates/swc_webpack_ast",
2021-11-09 14:42:49 +03:00
"crates/wasm",
]
2017-12-22 15:51:36 +03:00
default-members = [
"crates/jsdoc",
"crates/swc_cli",
"crates/swc_css",
"crates/swc_css_lints",
"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_stylis",
"crates/swc_timer",
"crates/swc_webpack_ast",
]
[profile.release]
codegen-units = 1
# We use CARGO_PROFILE_RELEASE_LTO for production builds
# lto = "fat"
2020-05-23 09:36:04 +03:00
# debug = true
# opt-level = 'z'
[profile.bench]
codegen-units = 1
2020-09-18 08:29:50 +03:00
debug = true
# 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
[patch.crates-io]
cranelift-codegen = { git = "https://github.com/kdy1/wasmtime", branch = "tls" }
cranelift-entity = { git = "https://github.com/kdy1/wasmtime", branch = "tls" }
# https://github.com/thoren-d/tracing-chrome/pull/6
tracing-chrome = { git = "https://github.com/kwonoj/tracing-chrome", rev="a345d8e" }