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"
|
2024-01-04 15:28:02 +03:00
|
|
|
version = "0.146.54"
|
2021-11-10 13:00:54 +03:00
|
|
|
|
2023-03-27 07:28:42 +03:00
|
|
|
[features]
|
|
|
|
# This does not enable serde for ast nodes.
|
|
|
|
serde-impl = ["swc_ecma_ast/serde"]
|
|
|
|
|
2022-04-04 14:12:03 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2021-11-10 13:00:54 +03:00
|
|
|
[dependencies]
|
2023-08-30 05:23:57 +03:00
|
|
|
memchr = "2.6.1"
|
2023-03-24 07:46:42 +03:00
|
|
|
num-bigint = { version = "0.4", features = ["serde"] }
|
2023-06-22 10:40:41 +03:00
|
|
|
once_cell = "1.18.0"
|
2023-03-24 07:46:42 +03:00
|
|
|
rustc-hash = "1.1.0"
|
|
|
|
serde = "1.0.127"
|
2023-05-16 07:12:46 +03:00
|
|
|
sourcemap = "6.2"
|
2023-06-22 10:40:41 +03:00
|
|
|
tracing = "0.1.37"
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2023-12-01 23:08:13 +03:00
|
|
|
swc_atoms = { version = "0.6.5", path = "../swc_atoms" }
|
2023-12-08 10:18:16 +03:00
|
|
|
swc_common = { version = "0.33.12", path = "../swc_common" }
|
2024-01-04 07:49:50 +03:00
|
|
|
swc_ecma_ast = { version = "0.110.17", path = "../swc_ecma_ast" }
|
2023-12-08 10:18:16 +03:00
|
|
|
swc_ecma_codegen_macros = { version = "0.7.4", path = "../swc_ecma_codegen_macros" }
|
2021-11-10 13:00:54 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-12-02 14:40:56 +03:00
|
|
|
base64 = "0.21"
|
2023-06-22 10:40:41 +03:00
|
|
|
criterion = "0.5"
|
2022-09-26 12:12:42 +03:00
|
|
|
serde_json = "1"
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2023-12-08 10:18:16 +03:00
|
|
|
swc_common = { version = "0.33.12", path = "../swc_common", features = [
|
2022-03-16 12:58:24 +03:00
|
|
|
"sourcemap",
|
2022-04-05 12:14:49 +03:00
|
|
|
] }
|
2024-01-04 15:28:02 +03:00
|
|
|
swc_ecma_parser = { version = "0.141.37", path = "../swc_ecma_parser" }
|
2023-12-08 10:18:16 +03:00
|
|
|
swc_ecma_testing = { version = "0.22.15", path = "../swc_ecma_testing" }
|
2023-11-11 22:12:50 +03:00
|
|
|
swc_malloc = { version = "0.5.10", path = "../swc_malloc" }
|
2023-12-08 10:18:16 +03:00
|
|
|
testing = { version = "0.35.14", path = "../testing" }
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2022-04-03 18:56:29 +03:00
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-08-11 12:52:44 +03:00
|
|
|
name = "bench"
|
2022-04-03 18:56:29 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
harness = false
|
2022-08-11 12:52:44 +03:00
|
|
|
name = "with_parse"
|