Cargo Features

[dependencies]
croaring = { version = "2.1.1", default-features = false, features = ["alloc", "std"] }
default = std

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

alloc std

Include alloc to get features that depend on an allocator (treemap, serializing to vec, etc)
enabled by default

Affects serialization::Serializer.serialize_into_vec, serialization::Serializer.serialize_into_vec, croaring::treemap

std default = alloc

Affects serialization::Serializer.serialize_into_writer