swc/tools/generate-code/Cargo.toml
Donny/강동윤 9c176632b1
refactor(visit): Pre-generate visitor code (#9262)
**Description:**

This would improve compile time by a margin, and this is a refactoring that should be done before applying `swc_allocator::boxed::Box` to ES AST.

This PR removes `swc_visit_macros` because we now use a simple binary to generate code before publishing.


**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9101
2024-07-17 23:00:45 +00:00

17 lines
502 B
TOML

[package]
edition = "2021"
license = { workspace = true }
name = "generate-code"
publish = false
repository = { workspace = true }
version = "0.1.0"
[dependencies]
Inflector = { workspace = true }
anyhow = { workspace = true }
clap = { version = "4.5.9", features = ["derive"] }
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true, features = ["full", "visit-mut", "extra-traits"] }
walkdir = { workspace = true }