[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "preset-env for the swc"
documentation = "https://rustdoc.swc.rs/swc_ecma_preset_env/"
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs", "src/**/*.json", "data/**/*.json"]
license = "Apache-2.0"
name = "swc_ecma_preset_env"
repository = { workspace = true }
version = "6.0.0"
[lib]
bench = false
[features]
default = ["serde-impl"]
serde-impl = ["serde"]
[dependencies]
anyhow = { workspace = true }
dashmap = { workspace = true }
indexmap = { workspace = true }
once_cell = { workspace = true }
semver = { workspace = true, features = ["serde"] }
serde = { workspace = true, features = ["derive"], optional = true }
serde_json = { workspace = true }
st-map = { workspace = true }
preset_env_base = { version = "1.0.0", path = "../preset_env_base" }
rustc-hash = { workspace = true }
string_enum = { version = "1.0.0", path = "../string_enum" }
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "4.0.1", path = "../swc_common" }
swc_ecma_ast = { version = "4.0.1", path = "../swc_ecma_ast" }
swc_ecma_transforms = { version = "6.0.0", path = "../swc_ecma_transforms", features = [
"compat",
"proposal",
] }
swc_ecma_utils = { version = "5.0.0", path = "../swc_ecma_utils" }
swc_ecma_visit = { version = "4.0.0", path = "../swc_ecma_visit" }
[dev-dependencies]
codspeed-criterion-compat = { workspace = true }
criterion = { workspace = true }
pretty_assertions = { workspace = true }
swc_ecma_codegen = { version = "4.0.2", path = "../swc_ecma_codegen" }
swc_ecma_parser = { version = "5.0.0", path = "../swc_ecma_parser" }
testing = { version = "4.0.0", path = "../testing" }
[[bench]]
harness = false
name = "polyfills"