swc/crates/swc_ecma_visit/Cargo.toml
Donny/강동윤 4744d438a9
feat(visit): Improve API (#5185)
- Rename `AstKind` to `AstParentKind`.
 - Add `kind()` to `AstNodeRef`.
 - Reduce generic arguments of `AstNodePath`.
 - Remove `Opt*` from `AstParentKind` and `AstNodeRef`.
 - Add field enum for structs.
 - Add field enum for enums.
 - Change `Vec*` to a child kind.
 - Add field for the child field to `AstParentKind`.
 - Add field for the child field to `AstNodeRef`.
2022-07-12 11:26:51 +00:00

29 lines
793 B
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Visitors for swc ecmascript nodes which works on stable rustc"
documentation = "https://rustdoc.swc.rs/swc_ecma_visit/"
edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_visit"
repository = "https://github.com/swc-project/swc.git"
version = "0.70.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
debug = []
path = []
[dependencies]
num-bigint = { version = "0.4", features = ["serde"] }
swc_atoms = { version = "0.2", path = "../swc_atoms" }
swc_common = { version = "0.23.0", path = "../swc_common" }
swc_ecma_ast = { version = "0.84.0", path = "../swc_ecma_ast" }
swc_visit = { version = "0.4.0", path = "../swc_visit" }
tracing = "0.1.32"