swc/crates/swc_plugin_proxy/Cargo.toml

48 lines
1.6 KiB
TOML
Raw Normal View History

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>", "OJ Kwon <kwon.ohjoong@gmail.com>"]
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"
2022-09-26 12:21:39 +03:00
version = "0.22.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]
2022-04-08 11:34:58 +03:00
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 }
2022-09-26 12:21:39 +03:00
swc_common = { version = "0.29.1", path = "../swc_common" }
swc_ecma_ast = { version = "0.94.1", path = "../swc_ecma_ast" }
2022-08-13 08:09:52 +03:00
swc_trace_macro = { version = "0.1.2", path = "../swc_trace_macro" }
tracing = "0.1.32"