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-10-12 10:20:07 +03:00
|
|
|
version = "1.0.0"
|
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]
|
2024-04-29 03:54:45 +03:00
|
|
|
memchr = { workspace = true }
|
|
|
|
num-bigint = { workspace = true, features = ["serde"] }
|
|
|
|
once_cell = { workspace = true }
|
2024-09-23 05:02:24 +03:00
|
|
|
regex = { workspace = true }
|
2024-04-29 03:54:45 +03:00
|
|
|
serde = { workspace = true }
|
|
|
|
sourcemap = { workspace = true }
|
|
|
|
tracing = { workspace = true }
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2024-10-12 10:20:07 +03:00
|
|
|
swc_allocator = { version = "1.0.0", path = "../swc_allocator", default-features = false }
|
|
|
|
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
|
|
|
|
swc_common = { version = "1.0.0", path = "../swc_common" }
|
|
|
|
swc_ecma_ast = { version = "1.0.0", path = "../swc_ecma_ast" }
|
|
|
|
swc_ecma_codegen_macros = { version = "1.0.0", path = "../swc_ecma_codegen_macros" }
|
2021-11-10 13:00:54 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-07-10 09:20:27 +03:00
|
|
|
base64 = { workspace = true }
|
|
|
|
codspeed-criterion-compat = { workspace = true }
|
|
|
|
criterion = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
2023-03-24 07:46:42 +03:00
|
|
|
|
2024-10-12 10:20:07 +03:00
|
|
|
swc_allocator = { version = "1.0.0", path = "../swc_allocator" }
|
|
|
|
swc_common = { version = "1.0.0", path = "../swc_common", features = [
|
2022-03-16 12:58:24 +03:00
|
|
|
"sourcemap",
|
2022-04-05 12:14:49 +03:00
|
|
|
] }
|
2024-10-17 04:54:06 +03:00
|
|
|
swc_ecma_parser = { version = "1.0.1", path = "../swc_ecma_parser" }
|
2024-10-12 10:20:07 +03:00
|
|
|
swc_ecma_testing = { version = "1.0.0", path = "../swc_ecma_testing" }
|
|
|
|
swc_malloc = { version = "1.0.0", path = "../swc_malloc" }
|
|
|
|
testing = { version = "1.0.0", 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"
|