# 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_bundler"
version = "49.0.0"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = "build.rs"
include = [
    "Cargo.toml",
    "build.rs",
    "src/**/*.rs",
    "src/**/*.js",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Very fast ecmascript bundler"
documentation = "https://rustdoc.swc.rs/swc_bundler/"
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]
concurrent = [
    "swc_common/concurrent",
    "dashmap",
    "rayon",
    "indexmap/rayon",
]
default = []

[lib]
name = "swc_bundler"
path = "src/lib.rs"
bench = false

[dependencies.anyhow]
version = "1.0.98"

[dependencies.crc]
version = "2.1.0"

[dependencies.dashmap]
version = "6.1.0"
optional = true

[dependencies.indexmap]
version = "2.0.0"

[dependencies.is-macro]
version = "0.3.5"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.petgraph]
version = "0.7.1"

[dependencies.radix_fmt]
version = "1.0.0"

[dependencies.rayon]
version = "1.7.0"
optional = true

[dependencies.relative-path]
version = "1.6.1"

[dependencies.rustc-hash]
version = "2"

[dependencies.swc_atoms]
version = "9.0.1"

[dependencies.swc_common]
version = "21.0.2"

[dependencies.swc_ecma_ast]
version = "23.0.1"

[dependencies.swc_ecma_codegen]
version = "26.0.1"

[dependencies.swc_ecma_loader]
version = "22.0.0"

[dependencies.swc_ecma_parser]
version = "39.1.0"
features = ["typescript"]
default-features = false

[dependencies.swc_ecma_transforms_base]
version = "42.0.1"

[dependencies.swc_ecma_transforms_optimization]
version = "45.0.0"

[dependencies.swc_ecma_utils]
version = "29.1.1"

[dependencies.swc_ecma_visit]
version = "23.0.0"

[dependencies.swc_graph_analyzer]
version = "14.0.1"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.ntest]
version = "0.7.2"

[dev-dependencies.par-core]
version = "2.0.0"
features = ["chili"]
default-features = false

[dev-dependencies.path-clean]
version = "1.0.1"

[dev-dependencies.reqwest]
version = "0.11.14"
features = ["blocking"]

[dev-dependencies.sha1]
version = "0.10.6"

[dev-dependencies.swc_ecma_loader]
version = "22.0.0"
features = [
    "node",
    "cache",
]

[dev-dependencies.swc_ecma_minifier]
version = "53.0.0"
features = ["concurrent"]

[dev-dependencies.swc_ecma_transforms_base]
version = "42.0.1"
features = ["inline-helpers"]

[dev-dependencies.swc_ecma_transforms_proposal]
version = "42.0.0"

[dev-dependencies.swc_ecma_transforms_react]
version = "47.0.0"

[dev-dependencies.swc_ecma_transforms_typescript]
version = "47.0.0"

[dev-dependencies.swc_malloc]
version = "1.2.5"

[dev-dependencies.tempfile]
version = "3.6.0"

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(swc_ast_unknown)"]
