Cargo Features

[dependencies]
deku = { version = "0.18.1", default-features = false, features = ["std", "alloc", "logging", "no-assert-string", "error_in_core", "bits"] }
default = bits, std

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

std default = alloc

Enables std of optional bitvec, deku_derive, and no_std_io2

bitvec:

The standard library includes the allocator.

alloc std

Enables alloc of optional bitvec

logging = log

Enables logging of deku_derive

no-assert-string

Enables no-assert-string of deku_derive

error_in_core
bits default

Enables bitvec, bits of deku_derive

Affects deku::bitvec, deku::DekuContainerWrite.to_bits, writer::Writer.leftover

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

log logging?