129 lines
2.3 KiB
TOML
129 lines
2.3 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "swc_ecma_parser"
|
|
version = "0.139.0"
|
|
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
|
include = [
|
|
"Cargo.toml",
|
|
"src/**/*.rs",
|
|
"examples/**/*.rs",
|
|
]
|
|
description = "Feature-complete es2019 parser."
|
|
documentation = "https://rustdoc.swc.rs/swc_ecma_parser/"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/swc-project/swc.git"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[[example]]
|
|
name = "lexer"
|
|
|
|
[[example]]
|
|
name = "typescript"
|
|
|
|
[[bench]]
|
|
name = "compare"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "lexer"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "parser"
|
|
harness = false
|
|
|
|
[dependencies.either]
|
|
version = "1.4"
|
|
|
|
[dependencies.num-bigint]
|
|
version = "0.4"
|
|
|
|
[dependencies.num-traits]
|
|
version = "0.2.15"
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = ["derive"]
|
|
|
|
[dependencies.smallvec]
|
|
version = "1.8.0"
|
|
|
|
[dependencies.smartstring]
|
|
version = "1"
|
|
|
|
[dependencies.swc_atoms]
|
|
version = "0.5.9"
|
|
|
|
[dependencies.swc_common]
|
|
version = "0.32.0"
|
|
|
|
[dependencies.swc_ecma_ast]
|
|
version = "0.109.0"
|
|
|
|
[dependencies.swc_ecma_visit]
|
|
version = "0.95.0"
|
|
optional = true
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.37"
|
|
|
|
[dependencies.typed-arena]
|
|
version = "2.0.1"
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5"
|
|
|
|
[dev-dependencies.pretty_assertions]
|
|
version = "1.3"
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1"
|
|
|
|
[dev-dependencies.swc_ecma_ast]
|
|
version = "0.109.0"
|
|
features = ["serde-impl"]
|
|
|
|
[dev-dependencies.swc_ecma_visit]
|
|
version = "0.95.0"
|
|
|
|
[dev-dependencies.swc_node_base]
|
|
version = "0.5.8"
|
|
|
|
[dev-dependencies.testing]
|
|
version = "0.34.0"
|
|
|
|
[dev-dependencies.walkdir]
|
|
version = "2"
|
|
|
|
[features]
|
|
debug = []
|
|
default = [
|
|
"typescript",
|
|
"stacker",
|
|
]
|
|
typescript = []
|
|
verify = ["swc_ecma_visit"]
|
|
|
|
[target."cfg(not(any(target_arch = \"wasm32\", target_arch = \"arm\")))".dependencies.stacker]
|
|
version = "0.1.15"
|
|
optional = true
|