Cargo Features

swc_ecma_ast has no features set by default.

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

Enables rkyv-impl of swc_atoms and swc_common

Affects lit::EncodeBigInt

serde-impl = serde
fuzzing = arbitrary

Enables arbitrary of 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?

Enables bytecheck ^0.6.10

bytecheck version should be in sync with rkyv version. Do not bump individually.

rkyv rkyv-impl?
serde serde-impl?
arbitrary fuzzing?