Cargo Features

swc_ecma_ast has no features set by default.

[dependencies]
swc_ecma_ast = { version = "5.0.0", features = ["rkyv-impl", "serde-impl", "fuzzing"] }
rkyv-impl = bytecheck, rancor, rkyv

Enables rkyv-impl of swc_atoms and swc_common

Affects lit::EncodeBigInt

serde-impl = serde
fuzzing = arbitrary

Enables arbitrary of swc_atoms and swc_common

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bytecheck rkyv-impl?
rancor rkyv-impl?
rkyv rkyv-impl?
serde serde-impl?
arbitrary fuzzing?