swc/crates/swc_ecma_codegen/Cargo.toml

53 lines
1.5 KiB
TOML
Raw Normal View History

2021-11-10 13:00:54 +03:00
[package]
2022-08-11 12:52:44 +03:00
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Ecmascript code generator for the swc project."
2021-11-10 13:00:54 +03:00
documentation = "https://rustdoc.swc.rs/swc_ecma_codegen/"
2022-08-11 12:52:44 +03:00
edition = "2021"
include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_ecma_codegen"
repository = "https://github.com/swc-project/swc.git"
2023-08-08 00:31:50 +03:00
version = "0.142.8"
2021-11-10 13:00:54 +03:00
[features]
# This does not enable serde for ast nodes.
serde-impl = ["swc_ecma_ast/serde"]
[lib]
bench = false
2021-11-10 13:00:54 +03:00
[dependencies]
memchr = "2.4.1"
num-bigint = { version = "0.4", features = ["serde"] }
2023-06-22 10:40:41 +03:00
once_cell = "1.18.0"
rustc-hash = "1.1.0"
serde = "1.0.127"
sourcemap = "6.2"
2023-06-22 10:40:41 +03:00
tracing = "0.1.37"
2023-07-20 08:57:51 +03:00
swc_atoms = { version = "0.5.8", path = "../swc_atoms" }
swc_common = { version = "0.31.18", path = "../swc_common" }
2023-08-07 23:01:21 +03:00
swc_ecma_ast = { version = "0.107.3", path = "../swc_ecma_ast" }
2023-06-21 18:44:11 +03:00
swc_ecma_codegen_macros = { version = "0.7.3", path = "../swc_ecma_codegen_macros" }
2021-11-10 13:00:54 +03:00
[dev-dependencies]
base64 = "0.13"
2023-06-22 10:40:41 +03:00
criterion = "0.5"
serde_json = "1"
2023-07-20 08:57:51 +03:00
swc_common = { version = "0.31.18", path = "../swc_common", features = [
"sourcemap",
2022-04-05 12:14:49 +03:00
] }
2023-08-08 00:31:50 +03:00
swc_ecma_parser = { version = "0.137.8", path = "../swc_ecma_parser" }
2023-07-20 08:57:51 +03:00
swc_ecma_testing = { version = "0.20.15", path = "../swc_ecma_testing" }
2022-10-24 06:58:37 +03:00
swc_node_base = { version = "0.5.8", path = "../swc_node_base" }
2023-07-20 08:57:51 +03:00
testing = { version = "0.33.21", path = "../testing" }
[[bench]]
harness = false
2022-08-11 12:52:44 +03:00
name = "bench"
[[bench]]
harness = false
2022-08-11 12:52:44 +03:00
name = "with_parse"