Cargo Features

[dependencies]
swc_allocator = { version = "0.1.8", default-features = false, features = ["nightly", "rkyv", "scoped", "serde"] }
default = scoped

The scoped feature is set by default whenever swc_allocator is added without default-features = false somewhere in the dependency tree.

nightly scoped

Enables allocator_api of bumpalo, nightly of hashbrown

Affects collections::HashMap, collections::HashSet, swc_allocator::boxed, swc_allocator::vec

rkyv

Enables rkyv =0.7.44

scoped default = nightly
serde

Enables serde