Cargo Features

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

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

std default = alloc

Enables std of bitvec, deku_derive, and no_std_io

bitvec:

The standard library includes the allocator.

alloc std

Enables alloc of bitvec

logging = log

Enables logging of deku_derive

no-assert-string

Enables no-assert-string of deku_derive

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?