swc/ecmascript/parser/Cargo.toml

46 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "swc_ecma_parser"
version = "0.18.1"
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"
[features]
default = []
# Requires nightly.
2019-12-10 18:02:39 +03:00
fold = ["swc_common/fold", "swc_ecma_ast/fold"]
# Verify that expression is valid. Requires nightly.
verify = ["fold"]
[dependencies]
2019-11-24 08:17:27 +03:00
swc_atoms = { version = "0.2", path ="../../atoms" }
swc_common = { version = "0.5.0", path ="../../common" }
swc_ecma_ast = { version = "0.16.0", path ="../ast" }
swc_ecma_parser_macros = { version = "0.4", path ="./macros" }
2019-11-24 08:17:27 +03:00
enum_kind = { version = "0.2", path ="../../macros/enum_kind" }
unicode-xid = "0.2"
log = { version = "0.4", features = ["release_max_level_debug"] }
either = { version = "1.4" }
2018-12-30 07:06:13 +03:00
serde = { version = "1", features = ["derive"] }
2019-11-24 08:17:27 +03:00
smallvec = "1"
once_cell = "1"
regex = "1"
num-bigint = "0.2"
[dev-dependencies]
testing = { version = "0.5", path ="../../testing" }
2019-11-24 08:17:27 +03:00
env_logger = "0.7"
walkdir = "2"
serde_json = "1"
pretty_assertions = "0.6"
[[example]]
2019-12-13 02:35:32 +03:00
name = "lexer"
[[example]]
name = "typescript"