# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "swc"
version = "0.116.16"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
include = ["Cargo.toml", "src/**/*.rs"]
description = "Speedy web compiler"
documentation = "https://rustdoc.swc.rs/swc/"
license = "Apache-2.0"
repository = "https://github.com/swc-project/swc.git"

[lib]
name = "swc"

[[example]]
name = "usage"
[dependencies.ahash]
version = "0.7.4"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.13.0"

[dependencies.dashmap]
version = "4.0.2"

[dependencies.either]
version = "1"

[dependencies.indexmap]
version = "1"
features = ["serde"]

[dependencies.lru]
version = "0.7.1"

[dependencies.napi]
version = "2.0.0"
features = ["napi3"]
optional = true
default-features = false

[dependencies.napi-derive]
version = "2.0.0"
features = ["type-def"]
optional = true
default-features = false

[dependencies.once_cell]
version = "1"

[dependencies.pathdiff]
version = "0.2.0"

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sourcemap]
version = "6"

[dependencies.swc_atoms]
version = "0.2"

[dependencies.swc_common]
version = "0.17.0"
features = ["sourcemap", "concurrent"]

[dependencies.swc_ecma_ast]
version = "0.65.3"

[dependencies.swc_ecma_codegen]
version = "0.89.0"

[dependencies.swc_ecma_ext_transforms]
version = "0.50.0"

[dependencies.swc_ecma_lints]
version = "0.9.0"

[dependencies.swc_ecma_loader]
version = "0.27.0"
features = ["lru", "node", "tsc"]

[dependencies.swc_ecma_minifier]
version = "0.70.9"

[dependencies.swc_ecma_parser]
version = "0.87.0"

[dependencies.swc_ecma_preset_env]
version = "0.86.1"

[dependencies.swc_ecma_transforms]
version = "0.113.4"
features = ["compat", "module", "optimization", "proposal", "react", "typescript"]

[dependencies.swc_ecma_transforms_base]
version = "0.57.1"

[dependencies.swc_ecma_transforms_compat]
version = "0.68.3"

[dependencies.swc_ecma_transforms_optimization]
version = "0.83.0"

[dependencies.swc_ecma_utils]
version = "0.64.0"

[dependencies.swc_ecma_visit]
version = "0.51.1"

[dependencies.swc_ecmascript]
version = "0.110.15"

[dependencies.swc_node_comments]
version = "0.4.0"

[dependencies.swc_plugin_runner]
version = "0.30.0"
optional = true

[dependencies.swc_visit]
version = "0.3.0"

[dependencies.tracing]
version = "0.1.28"
[dev-dependencies.rayon]
version = "1"

[dev-dependencies.swc_node_base]
version = "0.5.0"

[dev-dependencies.testing]
version = "0.18.0"

[dev-dependencies.walkdir]
version = "2"

[features]
concurrent = ["swc_ecma_utils/concurrent", "swc_ecma_transforms_base/concurrent", "swc_ecma_transforms_compat/concurrent", "swc_ecma_transforms_optimization/concurrent"]
debug = ["swc_ecma_visit/debug"]
default = ["es3"]
es3 = []
node = ["napi", "napi-derive"]
plugin = ["swc_plugin_runner"]
