mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
52 lines
2.2 KiB
TOML
52 lines
2.2 KiB
TOML
[package]
|
|
authors = ["강동윤 <[email protected]>"]
|
|
description = "rust port of babel and closure compiler."
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_transforms_react/"
|
|
edition = { workspace = true }
|
|
include = ["Cargo.toml", "src/**/*.rs"]
|
|
license = { workspace = true }
|
|
name = "swc_ecma_transforms_react"
|
|
repository = { workspace = true }
|
|
version = "53.0.0"
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(swc_ast_unknown)'] }
|
|
|
|
[features]
|
|
concurrent = ["swc_common/concurrent"]
|
|
default = ["serde-impl"]
|
|
es3 = ["swc_ecma_transforms_compat/es3"]
|
|
serde-impl = ["serde"]
|
|
|
|
[dependencies]
|
|
base64 = { workspace = true }
|
|
bytes-str = { workspace = true }
|
|
indexmap = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"], optional = true }
|
|
sha1 = { workspace = true }
|
|
|
|
string_enum = { version = "1.0.2", path = "../string_enum" }
|
|
swc_atoms = { version = "10.0.0", path = "../swc_atoms" }
|
|
swc_common = { version = "24.0.0", path = "../swc_common" }
|
|
swc_config = { version = "6.0.0", path = "../swc_config" }
|
|
swc_ecma_ast = { version = "27.0.0", path = "../swc_ecma_ast" }
|
|
swc_ecma_hooks = { version = "0.11.0", path = "../swc_ecma_hooks" }
|
|
swc_ecma_parser = { version = "43.0.0", path = "../swc_ecma_parser", default-features = false, features = [
|
|
"typescript",
|
|
] }
|
|
swc_ecma_transforms_base = { version = "47.0.0", path = "../swc_ecma_transforms_base" }
|
|
swc_ecma_transforms_compat = { version = "55.0.0", path = "../swc_ecma_transforms_compat/", optional = true }
|
|
swc_ecma_utils = { version = "33.0.0", path = "../swc_ecma_utils" }
|
|
swc_ecma_visit = { version = "27.0.0", path = "../swc_ecma_visit" }
|
|
|
|
[dev-dependencies]
|
|
swc_ecma_codegen = { version = "30.0.0", path = "../swc_ecma_codegen/" }
|
|
swc_ecma_transforms_compat = { version = "55.0.0", path = "../swc_ecma_transforms_compat/" }
|
|
swc_ecma_transforms_testing = { version = "51.0.0", path = "../swc_ecma_transforms_testing" }
|
|
testing = { version = "25.0.0", path = "../testing" }
|