swc/ecmascript/parser/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

43 lines
1.1 KiB
TOML

[package]
name = "swc_ecma_parser"
version = "0.32.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_parser/"
description = "Feature-complete es2019 parser."
edition = "2018"
include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"]
[features]
default = []
[dependencies]
swc_atoms = { version = "0.2", path ="../../atoms" }
swc_common = { version = "0.8.0", path ="../../common" }
swc_ecma_ast = { version = "0.27.0", path ="../ast" }
swc_ecma_parser_macros = { version = "0.4.1", path ="./macros" }
swc_ecma_visit = { version = "0.12.0", path ="../visit" }
enum_kind = { version = "0.2", path ="../../macros/enum_kind" }
unicode-xid = "0.2"
log = "0.4"
either = { version = "1.4" }
serde = { version = "1", features = ["derive"] }
smallvec = "1"
num-bigint = "0.2"
fxhash = "0.2.1"
[dev-dependencies]
testing = { version = "0.8", path ="../../testing" }
env_logger = "0.7"
walkdir = "2"
serde_json = "1"
pretty_assertions = "0.6"
[[example]]
name = "lexer"
[[example]]
name = "typescript"