2020-08-12 16:18:47 +03:00
|
|
|
[package]
|
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2020-10-30 08:49:02 +03:00
|
|
|
# OUT_DIR is required for testing
|
|
|
|
build = "build.rs"
|
2020-08-12 16:18:47 +03:00
|
|
|
description = "Very fast ecmascript bundler"
|
2021-03-31 07:09:10 +03:00
|
|
|
documentation = "https://rustdoc.swc.rs/swc_bundler/"
|
2020-08-12 16:18:47 +03:00
|
|
|
edition = "2018"
|
2021-01-11 14:08:39 +03:00
|
|
|
include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
|
2020-09-03 16:45:42 +03:00
|
|
|
license = "Apache-2.0/MIT"
|
|
|
|
name = "swc_bundler"
|
|
|
|
repository = "https://github.com/swc-project/swc.git"
|
2021-04-22 13:43:35 +03:00
|
|
|
version = "0.32.5"
|
2020-08-12 16:18:47 +03:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
2020-10-16 12:02:42 +03:00
|
|
|
concurrent = ["swc_common/concurrent", "dashmap", "rayon", "indexmap/rayon"]
|
2020-09-03 16:45:42 +03:00
|
|
|
default = []
|
2020-08-12 16:18:47 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2021-02-22 11:27:40 +03:00
|
|
|
ahash = "0.7"
|
2020-08-12 16:18:47 +03:00
|
|
|
anyhow = "1"
|
|
|
|
crc = "1.8"
|
2020-09-03 16:45:42 +03:00
|
|
|
dashmap = {version = "3", optional = true}
|
2021-04-22 13:43:35 +03:00
|
|
|
fxhash = "0.2"
|
2020-10-16 12:02:42 +03:00
|
|
|
indexmap = "1.6"
|
2020-09-03 16:45:42 +03:00
|
|
|
is-macro = "0.1"
|
2020-08-12 16:18:47 +03:00
|
|
|
log = "0.4"
|
|
|
|
once_cell = "1"
|
2020-09-03 16:45:42 +03:00
|
|
|
petgraph = "0.5"
|
|
|
|
radix_fmt = "1"
|
|
|
|
rayon = {version = "1", optional = true}
|
|
|
|
relative-path = "1.2"
|
2021-01-05 08:29:52 +03:00
|
|
|
retain_mut = "0.1.2"
|
2020-10-02 05:07:40 +03:00
|
|
|
swc_atoms = {version = "0.2.4", path = "../atoms"}
|
2021-04-11 09:09:27 +03:00
|
|
|
swc_common = {version = "0.10.16", path = "../common"}
|
|
|
|
swc_ecma_ast = {version = "0.43.1", path = "../ecmascript/ast"}
|
2021-04-17 09:00:14 +03:00
|
|
|
swc_ecma_codegen = {version = "0.52.3", path = "../ecmascript/codegen"}
|
|
|
|
swc_ecma_parser = {version = "0.54.3", path = "../ecmascript/parser"}
|
|
|
|
swc_ecma_transforms = {version = "0.45.3", path = "../ecmascript/transforms", features = ["optimization"]}
|
2021-04-11 09:09:27 +03:00
|
|
|
swc_ecma_utils = {version = "0.34.1", path = "../ecmascript/utils"}
|
|
|
|
swc_ecma_visit = {version = "0.29.1", path = "../ecmascript/visit"}
|
2020-08-12 16:18:47 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-10-30 08:49:02 +03:00
|
|
|
hex = "0.4"
|
2020-12-27 13:02:41 +03:00
|
|
|
ntest = "0.7.2"
|
2020-10-02 05:07:40 +03:00
|
|
|
reqwest = {version = "0.10.8", features = ["blocking"]}
|
2020-10-30 08:49:02 +03:00
|
|
|
sha-1 = "0.9"
|
2021-04-17 09:00:14 +03:00
|
|
|
swc_ecma_transforms = {version = "0.45.3", path = "../ecmascript/transforms", features = ["react", "typescript"]}
|
2020-10-14 17:28:38 +03:00
|
|
|
tempfile = "3.1.0"
|
2021-04-11 09:09:27 +03:00
|
|
|
testing = {version = "0.10.5", path = "../testing"}
|
2020-10-02 05:07:40 +03:00
|
|
|
url = "2.1.1"
|
2020-10-09 13:10:25 +03:00
|
|
|
walkdir = "2"
|