mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
65 lines
2.1 KiB
TOML
65 lines
2.1 KiB
TOML
[package]
|
|
authors = ["강동윤 <[email protected]>"]
|
|
description = "Ecmascript code generator for the swc project."
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_codegen/"
|
|
edition = { workspace = true }
|
|
include = ["Cargo.toml", "src/**/*.rs"]
|
|
license = { workspace = true }
|
|
name = "swc_ecma_codegen"
|
|
repository = { workspace = true }
|
|
version = "30.0.0"
|
|
|
|
[features]
|
|
# This does not enable serde for ast nodes.
|
|
serde-impl = ["swc_ecma_ast/serde"]
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(swc_ast_unknown)'] }
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[dependencies]
|
|
ascii = { workspace = true }
|
|
compact_str = { workspace = true }
|
|
dragonbox_ecma = { workspace = true }
|
|
memchr = { workspace = true }
|
|
num-bigint = { workspace = true, features = ["serde"] }
|
|
once_cell = { workspace = true }
|
|
regex = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
serde = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
swc_allocator = { version = "5.0.0", path = "../swc_allocator", default-features = false, features = [
|
|
"hashbrown",
|
|
] }
|
|
swc_atoms = { version = "10.0.0", path = "../swc_atoms" }
|
|
swc_common = { version = "24.0.0", path = "../swc_common" }
|
|
swc_ecma_ast = { version = "27.0.0", path = "../swc_ecma_ast" }
|
|
swc_ecma_codegen_macros = { version = "2.0.2", path = "../swc_ecma_codegen_macros" }
|
|
swc_ecma_utils = { version = "33.0.0", path = "../swc_ecma_utils" }
|
|
|
|
[dev-dependencies]
|
|
base64 = { workspace = true }
|
|
codspeed-criterion-compat = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
swc_allocator = { version = "5.0.0", path = "../swc_allocator" }
|
|
swc_common = { version = "24.0.0", path = "../swc_common", features = [
|
|
"sourcemap",
|
|
] }
|
|
swc_ecma_parser = { version = "43.0.0", path = "../swc_ecma_parser" }
|
|
swc_ecma_testing = { version = "25.0.0", path = "../swc_ecma_testing" }
|
|
swc_malloc = { version = "1.2.5", path = "../swc_malloc" }
|
|
swc_sourcemap = { workspace = true }
|
|
testing = { version = "25.0.0", path = "../testing" }
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "bench"
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "with_parse"
|