[package] authors = ["강동윤 "] 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" repository = "https://github.com/swc-project/swc.git" version = "0.43.0" [features] default = ["filesystem_cache"] filesystem_cache = ["wasmer-cache"] [dependencies] anyhow = "1.0.42" once_cell = "1.10.0" parking_lot = "0.12.0" serde = { version = "1.0.126", features = ["derive"] } serde_json = "1.0.64" swc_common = { version = "0.17.0", path = "../swc_common", features = [ "plugin-rt", "concurrent", ] } swc_ecma_ast = { version = "0.70.0", path = "../swc_ecma_ast", features = [ "rkyv-impl", ] } tracing = "0.1.32" wasmer = { version = "2.2.0", default-features = false } wasmer-wasi = { version = "2.2.0", default-features = false } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] wasmer-cache = { version = "2.2.0", optional = true } [dev-dependencies] swc_atoms = { version = "0.2.7", path = '../swc_atoms' } swc_ecma_loader = { version = "0.29.0", path = "../swc_ecma_loader" } swc_ecma_parser = { version = "0.94.0", path = "../swc_ecma_parser" } swc_ecma_visit = { version = "0.56.0", path = "../swc_ecma_visit" } testing = { version = "0.19.0", path = "../testing" } # This allows we can run non-wasm32 target build command while some pkg select features for wasmer/js omits its transitive deps wasmer = { version = "2.2.0" } wasmer-wasi = { version = "2.2.0" }