[[bench]]
harness = false
name = "ecma_invoke"
path = "benches/ecma_invoke.rs"
[build-dependencies.vergen]
default-features = false
features = ["build", "cargo"]
version = "9.0.0"
[dependencies.anyhow]
version = "1.0.81"
[dependencies.enumset]
version = "1.1.2"
[dependencies.futures]
version = "0.3"
[dependencies.once_cell]
version = "1.19.0"
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.serde]
features = ["derive"]
version = "1.0.197"
[dependencies.serde_json]
version = "1.0.115"
[dependencies.swc_common]
features = ["concurrent"]
version = "4.0.0"
[dependencies.swc_css_ast]
optional = true
version = "4.0.0"
[dependencies.swc_ecma_ast]
optional = true
version = "4.0.0"
[dependencies.swc_plugin_proxy]
version = "4.0.0"
[dependencies.tokio]
default-features = false
optional = true
version = "1"
[dependencies.tracing]
version = "0.1.40"
[dependencies.virtual-fs]
default-features = false
version = "0.16.0"
[dependencies.wasmer]
default-features = false
version = "4.3.7"
[dependencies.wasmer-wasix]
default-features = false
version = "0.27.0"
[dev-dependencies.codspeed-criterion-compat]
version = "2.6.0"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.swc_atoms]
version = "2.0.0"
[dev-dependencies.swc_css_ast]
features = ["rkyv-impl"]
version = "4.0.0"
[dev-dependencies.swc_css_parser]
version = "4.0.0"
[dev-dependencies.swc_ecma_ast]
features = ["rkyv-impl"]
version = "4.0.0"
[dev-dependencies.swc_ecma_loader]
version = "4.0.0"
[dev-dependencies.swc_ecma_parser]
version = "5.0.0"
[dev-dependencies.swc_ecma_visit]
version = "4.0.0"
[dev-dependencies.swc_malloc]
version = "1.0.0"
[dev-dependencies.testing]
version = "4.0.0"
[dev-dependencies.tokio]
default-features = false
features = ["rt"]
version = "1"
[features]
__rkyv = []
css = ["swc_css_ast/rkyv-impl"]
default = ["filesystem_cache", "plugin_transform_host_native"]
ecma = ["swc_ecma_ast/rkyv-impl"]
filesystem_cache = ["wasmer-cache"]
plugin_transform_host_js = ["wasmer/js-default", "wasmer-wasix/js-default", "wasmer-compiler-cranelift/wasm"]
plugin_transform_host_native = ["wasmer/default", "wasmer-wasix/sys", "wasmer-wasix/logging", "wasmer-wasix/host-fs", "wasmer-wasix/sys-poll", "wasmer-wasix/sys-thread", "wasmer-wasix/host-threads", "wasmer-compiler-cranelift/default"]
plugin_transform_host_native_shared_runtime = ["tokio"]
plugin_transform_schema_v1 = ["swc_common/plugin_transform_schema_v1"]
plugin_transform_schema_vtest = ["swc_common/plugin_transform_schema_vtest"]
rkyv-impl = ["__rkyv", "swc_common/plugin-rt", "swc_plugin_proxy/plugin-rt"]
[lib]
bench = false
doctest = false
name = "swc_plugin_runner"
path = "src/lib.rs"
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Runner for swc plugins. This crate is INTERNAL crate and used by swc itself."
documentation = "https://rustdoc.swc.rs/swc_plugin_runner/"
edition = "2021"
license = "Apache-2.0"
name = "swc_plugin_runner"
readme = false
repository = "https://github.com/swc-project/swc.git"
version = "4.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-cache]
optional = true
version = "4.3.7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-cranelift]
default-features = false
version = "4.3.7"
[[test]]
name = "css_rkyv"
path = "tests/css_rkyv.rs"
[[test]]
name = "ecma_integration"
path = "tests/ecma_integration.rs"
[[test]]
name = "ecma_rkyv"
path = "tests/ecma_rkyv.rs"
[[test]]
name = "issues"
path = "tests/issues.rs"