Cargo Features

[dependencies]
bitvec = { version = "1.0.1", default-features = false, features = ["alloc", "atomic", "std", "testing", "serde"] }
alloc std
atomic default
default = atomic, std

Enable use of atomics and the standard library by default. no-std users will need to opt out with default-features = false.

std default = alloc

The standard library includes the allocator.

testing

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework