Cargo Features
[dependencies]
croaring = { version = "2.1.1", default-features = false, features = ["alloc", "std"] }
- default = std
-
The
std
feature is set by default whenevercroaring
is added without
somewhere in the dependency tree.default-features = false - alloc std
-
Include alloc to get features that depend on an allocator (treemap, serializing to vec, etc)
enabled by defaultAffects
serialization::Serializer.serialize_into_vec
,serialization::Serializer.serialize_into_vec
,croaring::treemap
… - std default = alloc
-
Affects
serialization::Serializer.serialize_into_writer
…