swc/bindings/binding_core_node/Cargo.toml

69 lines
1.9 KiB
TOML
Raw Normal View History

[package]
2020-08-30 09:29:42 +03:00
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = "build.rs"
2021-12-30 12:59:18 +03:00
edition = "2021"
2020-08-30 09:29:42 +03:00
exclude = ["artifacts.json", "index.node"]
2021-12-19 08:14:12 +03:00
license = "Apache-2.0"
name = "binding_core_node"
publish = false
2020-08-30 09:29:42 +03:00
version = "0.1.0"
[lib]
bench = false
crate-type = ["cdylib"]
[features]
default = ["swc_v1", "plugin"]
plugin = ["swc_core/plugin_transform_host_native"]
swc_v1 = ["swc_core/bundler_node_v1"]
swc_v2 = ["swc_core/bundler_node_v2"]
# Experiemntal bytechecked plugin serialization / deserialization.
plugin_bytecheck = [
# We know what we're doing - enable internal features for the host plugin setup.
# "swc_core/__plugin_transform_host_bytecheck",
"swc_core/__plugin_transform_host_schema_v1",
"swc_core/__plugin_transform_env_native",
]
# Internal flag for testing purpose only.
__plugin_transform_vtest = [
# We know what we're doing - enable internal features for testing fixture setup.
"swc_core/__plugin_transform_host",
"swc_core/__plugin_transform_host_schema_vtest",
"swc_core/__plugin_transform_env_native",
]
[build-dependencies]
napi-build = { version = "2" }
[dependencies]
2022-11-02 07:53:22 +03:00
anyhow = "1.0.66"
backtrace = "0.3"
napi = { version = "2", default-features = false, features = [
"napi3",
"serde-json",
] }
napi-derive = { version = "2", default-features = false, features = [
"type-def",
] }
node_macro_deps = { path = "../node_macro_deps" }
path-clean = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["unbounded_depth"] }
2022-11-02 07:53:22 +03:00
tracing = { version = "0.1.37", features = ["release_max_level_info"] }
tracing-chrome = "0.5.0"
tracing-futures = "0.2.5"
tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
2022-11-16 08:42:35 +03:00
swc_core = { version = "0.43.15", features = [
2022-09-04 12:28:13 +03:00
"ecma_ast",
"common_concurrent",
"bundler",
2022-09-04 12:28:13 +03:00
"ecma_loader",
"ecma_transforms",
"ecma_visit",
"base_node",
"base_concurrent",
] }