mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
6f19f8902f
**Description:** Another update to enable bytecheck rkyv feature flag. Our dep tree is quite tangled with implicit enable (plugin -> rkyv). PR tries to detach some of it while trying to preserve existing behavior as much as it can.
40 lines
1.2 KiB
TOML
40 lines
1.2 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.90.20"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[features]
|
|
default = []
|
|
fuzzing = ["arbitrary", "swc_common/arbitrary"]
|
|
rkyv-impl = ["rkyv", "swc_atoms/rkyv-impl", "swc_common/rkyv-impl"]
|
|
rkyv-bytecheck-impl = []
|
|
|
|
[dependencies]
|
|
arbitrary = { version = "1", optional = true, features = ["derive"] }
|
|
bitflags = "1"
|
|
bytecheck = { version = "0.6.9", optional = true }
|
|
is-macro = "0.2.0"
|
|
num-bigint = { version = "0.4", features = ["serde"] }
|
|
rkyv = { version = "=0.7.37", optional = true }
|
|
scoped-tls = "1.0.0"
|
|
serde = { version = "1.0.133", features = ["derive"] }
|
|
string_enum = { version = "0.3.1", path = "../string_enum" }
|
|
swc_atoms = { version = "0.4.10", path = "../swc_atoms" }
|
|
swc_common = { version = "0.27.16", path = "../swc_common" }
|
|
unicode-id = "0.3"
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1"
|