[package] authors = ["강동윤 ", "OJ Kwon "] description = "Proxy structs to the hosts original structs for the plugin" edition = "2021" license = "Apache-2.0" name = "swc_plugin_proxy" repository = "https://github.com/swc-project/swc.git" version = "0.28.1" [lib] bench = false [features] __rkyv = [] # Enably rkyv serialization with stable version of rkyv. rkyv-impl = ["__rkyv", "rkyv"] # Enable rkyv serialization with updated version of rkyv, along with bytecheck. rkyv-bytecheck-impl = ["__rkyv", "rkyv-latest"] __plugin_mode = [] __plugin_rt = [] # swc/core, which runs plugin plugin-bytecheck-rt = [ "__plugin_rt", "swc_common/plugin-bytecheck-base", "rkyv-bytecheck-impl", ] plugin-rt = ["__plugin_rt", "swc_common/plugin-base", "rkyv-impl"] # actual wasm plugin binary plugin-bytecheck-mode = [ "__plugin_mode", "swc_common/plugin-bytecheck-base", "rkyv-bytecheck-impl", ] plugin-mode = ["__plugin_mode", "swc_common/plugin-base", "rkyv-impl"] [dependencies] better_scoped_tls = { version = "0.1.0", path = "../better_scoped_tls" } rkyv = { package = "rkyv", version = "=0.7.37", optional = true } # This is to avoid cargo version selection conflict between rkyv=0.7.37 and other versions, as it is strictly pinned # cannot be merged. rkyv-latest = { package = "rkyv-test", version = "=0.7.38-test.2", optional = true } swc_common = { version = "0.29.36", path = "../swc_common" } swc_ecma_ast = { version = "0.99.1", path = "../swc_ecma_ast" } swc_trace_macro = { version = "0.1.2", path = "../swc_trace_macro" } tracing = "0.1.32"