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
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of optional bitvec, deku_derive, and no_std_io2
bitvec:
The standard library includes the allocator.
- alloc std
- 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.