swc/crates/swc_ecma_ast/Cargo.toml
Donny/강동윤 3833cf4e55
perf(es/parser): Remove needless strcmp ops (#8223)
**Description:**


## The current `main`

```
es/parser/angular       time:   [7.9848 ms 8.0003 ms 8.0243 ms]
```

## This PR

```
es/parser/angular       time:   [7.3380 ms 7.3498 ms 7.3663 ms]
```
2023-11-06 13:16:35 +09:00

53 lines
1.4 KiB
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Ecmascript ast."
documentation = "https://rustdoc.swc.rs/swc_ecma_ast/"
edition = "2021"
license = "Apache-2.0"
name = "swc_ecma_ast"
repository = "https://github.com/swc-project/swc.git"
version = "0.110.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
bench = false
[features]
__rkyv = []
default = []
fuzzing = ["arbitrary", "swc_common/arbitrary"]
rkyv-impl = [
"__rkyv",
"rkyv",
"bytecheck",
"swc_atoms/rkyv-impl",
"swc_common/rkyv-impl",
]
serde-impl = ["serde"]
[dependencies]
arbitrary = { version = "1", optional = true, features = ["derive"] }
bitflags = "2.3.2"
# bytecheck version should be in sync with rkyv version. Do not bump individually.
bytecheck = { version = "0.6.10", optional = true }
is-macro = "0.3.0"
num-bigint = { version = "0.4", features = ["serde"] }
rkyv = { package = "rkyv", version = "=0.7.42", optional = true, features = [
"strict",
"validation",
] }
scoped-tls = "1.0.1"
serde = { version = "1.0.133", features = ["derive"], optional = true }
unicode-id = "0.3"
string_enum = { version = "0.4.1", path = "../string_enum" }
swc_atoms = { version = "0.6.0", path = "../swc_atoms" }
swc_common = { version = "0.33.3", path = "../swc_common" }
phf = { version = "0.11.2", features = ["macros"] }
[dev-dependencies]
serde_json = "1"