[package]
edition = "2021"
name = "swc_ecmascript"
version = "53.0.0"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ecmascript"
documentation = "https://rustdoc.swc.rs/swc_ecmascript/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/swc-project/swc.git"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
codegen = ["swc_ecma_codegen"]
compat = ["swc_ecma_transforms/compat"]
concurrent = ["swc_ecma_minifier/concurrent"]
default = ["typescript-parser"]
minifier = ["swc_ecma_minifier"]
module = ["swc_ecma_transforms/module"]
optimization = ["swc_ecma_transforms/optimization"]
parser = ["swc_ecma_parser"]
preset_env = ["swc_ecma_preset_env"]
proposal = ["swc_ecma_transforms/proposal"]
quote = ["swc_ecma_quote"]
react = ["swc_ecma_transforms/react"]
rkyv-impl = ["swc_ecma_ast/rkyv-impl"]
transforms = ["swc_ecma_transforms"]
typescript = [
"typescript-parser",
"swc_ecma_transforms/typescript",
]
typescript-parser = ["swc_ecma_parser/typescript"]
utils = ["swc_ecma_utils"]
visit = ["swc_ecma_visit"]
[lib]
name = "swc_ecmascript"
path = "src/lib.rs"
bench = false
[dependencies.swc_ecma_ast]
version = "20.0.1"
[dependencies.swc_ecma_codegen]
version = "23.0.0"
optional = true
[dependencies.swc_ecma_minifier]
version = "45.0.0"
optional = true
[dependencies.swc_ecma_parser]
version = "34.0.0"
optional = true
default-features = false
[dependencies.swc_ecma_preset_env]
version = "48.0.0"
optional = true
[dependencies.swc_ecma_quote]
version = "34.0.0"
optional = true
[dependencies.swc_ecma_transforms]
version = "47.0.0"
optional = true
[dependencies.swc_ecma_utils]
version = "26.0.1"
optional = true
[dependencies.swc_ecma_visit]
version = "20.0.0"
optional = true
[dev-dependencies.par-core]
version = "2.0.0"
features = ["chili"]
default-features = false
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(swc_ast_unknown)"]