# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

cargo-features = ["strip"]

[package]
edition = "2018"
name = "swc"
version = "0.7.1"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Speedy web compiler"
documentation = "https://swc.rs/rustdoc/swc/"
license = "Apache-2.0/MIT"
repository = "https://github.com/swc-project/swc.git"
[profile.bench]
codegen-units = 1
debug = true

[profile.release]
lto = true
codegen-units = 1
strip = "symbols"

[lib]
name = "swc"

[[example]]
name = "usage"
[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.12.0"

[dependencies.dashmap]
version = "3"

[dependencies.either]
version = "1"

[dependencies.log]
version = "0.4"
features = ["release_max_level_info"]

[dependencies.once_cell]
version = "1"

[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.10.10"
features = ["sourcemap", "concurrent"]

[dependencies.swc_ecma_ast]
version = "0.40.0"

[dependencies.swc_ecma_codegen]
version = "0.47.0"

[dependencies.swc_ecma_ext_transforms]
version = "0.6.0"

[dependencies.swc_ecma_parser]
version = "0.49.0"

[dependencies.swc_ecma_preset_env]
version = "0.8.1"

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

[dependencies.swc_ecma_utils]
version = "0.30.0"

[dependencies.swc_ecma_visit]
version = "0.26.0"

[dependencies.swc_visit]
version = "0.2.3"
[dev-dependencies.rayon]
version = "1"

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

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