swc/ecmascript/ast/Cargo.toml
강동윤 0ac55ae68b
Improve ux for rust users (#909)
testing:
 - Remove dependency on relative_path

swc_common:
 - Span's byte positions are now self-contained and `GLOBALS` is not required while parsing.
 - Changed `Comments` into a trait.
 - Provide single-threaded implementation of `Comments`
 - Cargo feature `tty-emiiter` (To remove tty related stuffs )
 - Cargo feature `sourcemap` (To remove sourcemap for web assets)
 - Removed dependency on dashmap

swc_ecma_parser:
 - No duplicated comments.
 - Removed dependency on once_cell and regex
 - Add a test suite to visualize and test span of nodes.

swc_ecma_utils:
 - Removed dependency on parser

swc:
 - Remove dependency on derive_more and path-clean
 - Add multi-threaded implementation of `Comments`

swc_ecmascript:
 - A new crate contains `ast`, `codegen`, `parser`, `utils`, `visit`.
2020-07-31 18:49:07 +09:00

21 lines
717 B
TOML

[package]
name = "swc_ecma_ast"
version = "0.27.0"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
repository = "https://github.com/swc-project/swc.git"
documentation = "https://swc-project.github.io/rustdoc/swc_ecma_ast/"
description = "Ecmascript ast."
edition = "2018"
[dependencies]
serde = { version = "1.0.88", features = ["derive"] }
swc_atoms = { version = "0.2", path ="../../atoms" }
swc_common = { version = "0.8", path ="../../common" }
enum_kind = { version = "0.2", path ="../../macros/enum_kind" }
string_enum = { version = "0.3", path ="../../macros/string_enum" }
is-macro = "0.1"
num-bigint = { version = "0.2", features = ["serde"] }
[dev-dependencies]
serde_json = "1"