swc_ecma_parser 34.0.0

Feature-complete es2019 parser.
Documentation
# 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 = "34.0.0"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = false
include = [
    "Cargo.toml",
    "src/**/*.rs",
    "examples/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Feature-complete es2019 parser."
documentation = "https://rustdoc.swc.rs/swc_ecma_parser/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/swc-project/swc.git"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
debug = ["tracing-spans"]
default = [
    "typescript",
    "stacker",
]
tracing-spans = []
typescript = []
unstable = []
verify = ["swc_ecma_visit"]

[lib]
name = "swc_ecma_parser"
path = "src/lib.rs"
bench = false

[[example]]
name = "parse"
path = "examples/parse.rs"

[[example]]
name = "parse-all"
path = "examples/parse-all.rs"

[[example]]
name = "perf"
path = "examples/perf.rs"

[[example]]
name = "typescript"
path = "examples/typescript.rs"

[dependencies.bitflags]
version = "2.5.0"

[dependencies.either]
version = "1.10.0"

[dependencies.num-bigint]
version = "0.4.3"

[dependencies.phf]
version = "0.11.2"
features = ["macros"]

[dependencies.rustc-hash]
version = "2"

[dependencies.seq-macro]
version = "0.3"

[dependencies.serde]
version = "1.0.225"
features = ["derive"]

[dependencies.smartstring]
version = "1.0.1"

[dependencies.swc_atoms]
version = "9.0.0"

[dependencies.swc_common]
version = "18.0.1"

[dependencies.swc_ecma_ast]
version = "20.0.1"

[dependencies.swc_ecma_visit]
version = "20.0.0"
optional = true

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.cbor4ii]
version = "1.2"
features = ["use_std"]

[dev-dependencies.codspeed-criterion-compat]
version = "3.0.4"

[dev-dependencies.pathdiff]
version = "0.2.1"

[dev-dependencies.pretty_assertions]
version = "1.3"

[dev-dependencies.serde_json]
version = "1.0.140"

[dev-dependencies.swc_ecma_ast]
version = "20.0.1"
features = [
    "serde-impl",
    "encoding-impl",
]

[dev-dependencies.swc_ecma_visit]
version = "20.0.0"

[dev-dependencies.swc_malloc]
version = "1.2.4"

[dev-dependencies.testing]
version = "19.0.0"

[dev-dependencies.walkdir]
version = "2.4.0"

[target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm")))'.dependencies.stacker]
version = "0.1.15"
optional = true

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(swc_ast_unknown)"]