# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "farmfe_plugin_script" version = "0.0.11" authors = ["brightwu(吴明亮) <1521488775@qq.com>"] description = "Script compilation plugin of farm." homepage = "https://farmfe.org" documentation = "https://docs.rs/farmfe_plugin_script" license = "MIT" repository = "https://github.com/farm-fe/farm" [dependencies.farmfe_core] version = "0.7.0" [dependencies.farmfe_swc_transformer_import_glob] version = "0.0.12" [dependencies.farmfe_testing_helpers] version = "0.0.14" [dependencies.farmfe_toolkit] version = "0.0.14" [dependencies.farmfe_utils] version = "0.1.6" [dependencies.once_cell] version = "1.10.0" optional = true [dependencies.swc_ecma_loader] version = "0.46.1" features = [ "cache", "node", "tsc", ] optional = true [dependencies.swc_plugin_proxy] version = "0.44.2" features = ["plugin-rt"] optional = true [dependencies.swc_plugin_runner] version = "0.109.1" features = [ "ecma", "rkyv-impl", "plugin_transform_schema_v1", "plugin_transform_host_native", ] optional = true [dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", ] optional = true default-features = false [features] swc_plugin = [ "dep:swc_plugin_proxy", "dep:swc_plugin_runner", "dep:swc_ecma_loader", "dep:once_cell", "dep:tokio", ]