Cargo Features
swc_ecma_ast has no features set by default.
[dependencies]
swc_ecma_ast = { version = "21.0.0", features = ["encoding-impl", "rkyv-impl", "serde-impl", "shrink-to-fit", "fuzzing"] }
- encoding-impl = cbor4ii
-
Enables encoding-impl of swc_atoms and swc_common
- rkyv-impl = bytecheck, rancor, rkyv
-
Enables rkyv-impl of swc_atoms and swc_common
Affects
lit::EncodeBigInt… - serde-impl = serde
- shrink-to-fit
-
Enables shrink-to-fit, shrink-to-fit of swc_atoms and swc_common
- 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.