Cargo Features

scale-bits = { version = "0.5.0", default-features = false, features = ["std", "serde", "scale-info"] }
default = scale-info, serde, std

These default features are set whenever scale-bits is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional scale-info and optional serde


Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

serde default

Allow Bits to be serialized and deserialized from boolean arrays.

Enables serde

scale-info default

Implement TypeInfo for Bits

Enables scale-info