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 wheneverdeku
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of bitvec, deku_derive, and no_std_io
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
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.