swc/ecmascript/codegen/Cargo.toml
Donny/강동윤 4c983e9158
perf(es/codegen, es/parser): Improve performance (#2406)
ast_node:
 - Make `.span()` inlinable.

swc_ecma_codegen:
 - Reduce call to *heavy* `.span()` calls.

swc_ecma_parser:
 - Reduce `memmove` by using typed-arena.

swc_bundler:
 - Make `Bundle.bundle` take `&mut self`.
 - Make drop concurrent.
2021-10-15 12:49:37 +09:00

29 lines
1022 B
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Ecmascript code generator for the swc project."
documentation = "https://rustdoc.swc.rs/swc_ecma_codegen/"
edition = "2018"
include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://github.com/swc-project/swc.git"
version = "0.75.0"
[dependencies]
bitflags = "1"
memchr = "2.4.1"
num-bigint = {version = "0.2", features = ["serde"]}
once_cell = "1.8.0"
sourcemap = "6"
swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.13.0", path = "../../common"}
swc_ecma_ast = {version = "0.54.0", path = "../ast"}
swc_ecma_codegen_macros = {version = "0.6.0", path = "./macros"}
swc_ecma_parser = {version = "0.73.0", path = "../parser"}
tracing = "0.1"
[dev-dependencies]
swc_common = {version = "0.13.0", path = "../../common", features = ["sourcemap"]}
swc_node_base = {version = "0.4.0", path = "../../node/base"}
testing = {version = "0.14.0", path = "../../testing"}