2022-08-16 17:19:45 +03:00
|
|
|
[workspace]
|
2023-09-29 11:47:59 +03:00
|
|
|
members = [
|
2024-02-10 06:40:55 +03:00
|
|
|
"binding_core_node",
|
|
|
|
"binding_core_wasm",
|
2024-08-20 03:49:19 +03:00
|
|
|
"binding_html_node",
|
2024-02-10 06:40:55 +03:00
|
|
|
"binding_minifier_node",
|
|
|
|
"binding_minifier_wasm",
|
2024-07-03 03:50:59 +03:00
|
|
|
"binding_typescript_wasm",
|
2024-02-10 06:40:55 +03:00
|
|
|
"swc_cli",
|
2023-09-29 11:47:59 +03:00
|
|
|
]
|
2024-02-10 06:40:55 +03:00
|
|
|
resolver = "2"
|
2022-08-16 17:19:45 +03:00
|
|
|
|
2024-07-18 02:00:45 +03:00
|
|
|
[workspace.dependencies]
|
2024-07-21 07:53:04 +03:00
|
|
|
anyhow = "1.0.86"
|
2024-07-18 02:00:45 +03:00
|
|
|
backtrace = "0.3"
|
2024-07-21 07:53:04 +03:00
|
|
|
getrandom = "0.2.15"
|
2024-08-20 09:54:20 +03:00
|
|
|
lightningcss = "1.0.0-alpha.58"
|
2024-07-18 02:00:45 +03:00
|
|
|
napi = { version = "2", default-features = false }
|
|
|
|
napi-build = "2"
|
|
|
|
napi-derive = { version = "2", default-features = false }
|
2024-07-21 07:53:04 +03:00
|
|
|
path-clean = "1.0"
|
2024-07-18 02:00:45 +03:00
|
|
|
quote = "1"
|
|
|
|
serde = "1"
|
2024-07-21 07:53:04 +03:00
|
|
|
serde-wasm-bindgen = "0.6.5"
|
2024-07-18 02:00:45 +03:00
|
|
|
serde_json = "1.0.120"
|
2024-07-21 07:53:04 +03:00
|
|
|
sourcemap = "8.0.1"
|
2024-10-15 17:26:15 +03:00
|
|
|
swc_atoms = "2.0.0"
|
|
|
|
swc_cached = "1.0.0"
|
2024-10-31 04:46:51 +03:00
|
|
|
swc_cli_impl = "3.0.0"
|
|
|
|
swc_common = "2.0.1"
|
|
|
|
swc_compiler_base = "3.0.0"
|
2024-10-15 17:26:15 +03:00
|
|
|
swc_config = "1.0.0"
|
2024-10-31 04:46:51 +03:00
|
|
|
swc_core = "3.0.2"
|
|
|
|
swc_css_ast = "2.0.0"
|
|
|
|
swc_css_codegen = "2.0.0"
|
|
|
|
swc_css_minifier = "2.0.0"
|
|
|
|
swc_css_parser = "2.0.0"
|
|
|
|
swc_error_reporters = "3.0.0"
|
|
|
|
swc_fast_ts_strip = "3.0.0"
|
|
|
|
swc_html = "3.0.0"
|
|
|
|
swc_html_ast = "2.0.0"
|
|
|
|
swc_html_minifier = "3.0.0"
|
2024-10-15 17:26:15 +03:00
|
|
|
swc_malloc = "1.0.0"
|
|
|
|
swc_nodejs_common = "1.0.0"
|
2024-07-21 07:53:04 +03:00
|
|
|
tracing = "0.1.40"
|
|
|
|
tracing-chrome = "0.7.2"
|
2024-07-18 02:00:45 +03:00
|
|
|
tracing-futures = "0.2.5"
|
2024-07-21 07:53:04 +03:00
|
|
|
tracing-subscriber = "0.3.18"
|
|
|
|
wasm-bindgen = "0.2.92"
|
|
|
|
wasm-bindgen-futures = "0.4.42"
|
2024-07-18 02:00:45 +03:00
|
|
|
|
2022-08-16 17:19:45 +03:00
|
|
|
[profile.release]
|
|
|
|
# lto = true
|
|
|
|
|
|
|
|
# We use CARGO_PROFILE_RELEASE_LTO for production builds
|
|
|
|
# lto = "fat"
|
|
|
|
|
|
|
|
# debug = true
|
2024-07-12 23:19:05 +03:00
|
|
|
# opt-level = 'z'
|
2022-09-01 10:44:14 +03:00
|
|
|
|
|
|
|
# Strip debug symbols
|
|
|
|
strip = "symbols"
|
2022-09-30 06:47:00 +03:00
|
|
|
|
|
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
debug-assertions = false
|