Cargo Features

[dependencies]
deku = { version = "0.16.0", default-features = false, features = ["std", "alloc", "logging", "const_generics"] }
default = const_generics, 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 bitvec and deku_derive

bitvec:

The standard library includes the allocator.

alloc std

Enables alloc of bitvec

logging = log

Enables logging of deku_derive

const_generics default

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?