Cargo Features
[dependencies]
font8x8 = { version = "0.3.1", default-features = false, features = ["unicode", "std"] }
To disable all features, run
cargo build
with the--no-default-features
option. Doing This only includes the constants.
- default = std, unicode
-
These default features are set whenever
font8x8
is added without
somewhere in the dependency tree.default-features = false - unicode default
-
adds strong-typed unicode encoding and decoding, as well as Default, Debug, Display, Clone, implementations.
Affects
font8x8::unicode
… - std default
-
Disabling this feature removes the dependency on the standard library and makes the library no_std compatible.
Affects
unicode::UnicodeFonts.print_set
,unicode::UnicodeFonts.to_vec
…