mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 15:23:33 +03:00
53 lines
1.5 KiB
TOML
53 lines
1.5 KiB
TOML
[package]
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
description = "Ecmascript code generator for the swc project."
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_codegen/"
|
|
edition = "2021"
|
|
include = ["Cargo.toml", "src/**/*.rs"]
|
|
license = "Apache-2.0"
|
|
name = "swc_ecma_codegen"
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
version = "0.142.9"
|
|
|
|
[features]
|
|
# This does not enable serde for ast nodes.
|
|
serde-impl = ["swc_ecma_ast/serde"]
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[dependencies]
|
|
memchr = "2.4.1"
|
|
num-bigint = { version = "0.4", features = ["serde"] }
|
|
once_cell = "1.18.0"
|
|
rustc-hash = "1.1.0"
|
|
serde = "1.0.127"
|
|
sourcemap = "6.2"
|
|
tracing = "0.1.37"
|
|
|
|
swc_atoms = { version = "0.5.8", path = "../swc_atoms" }
|
|
swc_common = { version = "0.31.18", path = "../swc_common" }
|
|
swc_ecma_ast = { version = "0.107.3", path = "../swc_ecma_ast" }
|
|
swc_ecma_codegen_macros = { version = "0.7.3", path = "../swc_ecma_codegen_macros" }
|
|
|
|
[dev-dependencies]
|
|
base64 = "0.13"
|
|
criterion = "0.5"
|
|
serde_json = "1"
|
|
|
|
swc_common = { version = "0.31.18", path = "../swc_common", features = [
|
|
"sourcemap",
|
|
] }
|
|
swc_ecma_parser = { version = "0.137.8", path = "../swc_ecma_parser" }
|
|
swc_ecma_testing = { version = "0.20.15", path = "../swc_ecma_testing" }
|
|
swc_node_base = { version = "0.5.8", path = "../swc_node_base" }
|
|
testing = { version = "0.33.21", path = "../testing" }
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "bench"
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "with_parse"
|