2018-01-12 10:53:06 +03:00
|
|
|
[package]
|
|
|
|
name = "swc_ecma_parser"
|
2020-07-01 10:31:55 +03:00
|
|
|
version = "0.26.1"
|
2019-10-25 04:11:24 +03:00
|
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
2018-11-18 08:00:07 +03:00
|
|
|
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."
|
2019-11-17 07:21:53 +03:00
|
|
|
edition = "2018"
|
2020-06-02 13:53:20 +03:00
|
|
|
include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"]
|
2018-01-12 10:53:06 +03:00
|
|
|
|
2019-01-17 17:17:16 +03:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
# Requires nightly.
|
2019-12-10 18:02:39 +03:00
|
|
|
fold = ["swc_common/fold", "swc_ecma_ast/fold"]
|
2019-01-17 17:17:16 +03:00
|
|
|
# Verify that expression is valid. Requires nightly.
|
|
|
|
verify = ["fold"]
|
|
|
|
|
2018-01-12 10:53:06 +03:00
|
|
|
[dependencies]
|
2019-11-24 08:17:27 +03:00
|
|
|
swc_atoms = { version = "0.2", path ="../../atoms" }
|
2020-06-20 09:09:57 +03:00
|
|
|
swc_common = { version = "0.6.0", path ="../../common" }
|
2020-06-29 10:23:33 +03:00
|
|
|
swc_ecma_ast = { version = "0.22.0", path ="../ast" }
|
2020-03-28 07:54:53 +03:00
|
|
|
swc_ecma_parser_macros = { version = "0.4.1", path ="./macros" }
|
2019-11-24 08:17:27 +03:00
|
|
|
enum_kind = { version = "0.2", path ="../../macros/enum_kind" }
|
2019-11-23 17:03:19 +03:00
|
|
|
unicode-xid = "0.2"
|
2020-02-13 05:45:14 +03:00
|
|
|
log = "0.4"
|
2018-01-12 10:53:06 +03:00
|
|
|
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"
|
2020-01-30 17:29:12 +03:00
|
|
|
once_cell = "1"
|
2018-12-30 05:57:27 +03:00
|
|
|
regex = "1"
|
2019-12-22 11:14:04 +03:00
|
|
|
num-bigint = "0.2"
|
|
|
|
|
2018-01-12 10:53:06 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-06-20 09:09:57 +03:00
|
|
|
testing = { version = "0.6", path ="../../testing" }
|
2019-11-24 08:17:27 +03:00
|
|
|
env_logger = "0.7"
|
2018-12-30 05:57:27 +03:00
|
|
|
walkdir = "2"
|
2019-02-24 08:12:04 +03:00
|
|
|
serde_json = "1"
|
2019-11-06 07:14:44 +03:00
|
|
|
pretty_assertions = "0.6"
|
|
|
|
|
|
|
|
[[example]]
|
2019-12-13 02:35:32 +03:00
|
|
|
name = "lexer"
|
|
|
|
|
|
|
|
[[example]]
|
2020-02-05 14:20:25 +03:00
|
|
|
name = "typescript"
|