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 wheneverswc_allocator
is added without
somewhere in the dependency tree.default-features = false - 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