Cargo Features
[dependencies]
endiannezz = { version = "0.6.5", default-features = false, features = ["derive", "inline_primitives", "inline_io", "unchecked_bool"] }
- default = derive, inline_primitives
-
These default features are set whenever
endiannezz
is added without
somewhere in the dependency tree.default-features = false - derive default = endiannezz_derive
-
Provide derive(Io) proc macro
Affects
endiannezz::internal
… - inline_primitives default
-
Usually, inlining of primitives make sense. Turn it off if you don't think so.
- inline_io
-
NOTE: It may increase size of binary is some cases.
- unchecked_bool
-
C-like bool: 0 - false, else - true
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.