Cargo Features
[dependencies]
sensehat-screen = { version = "0.2.6", default-features = false, features = ["basic", "clip", "fonts", "offset", "rotate", "scroll", "serde-support", "linux-framebuffer", "big-endian"] }
- default = basic, linux-framebuffer
-
These default features are set whenever
sensehat-screen
is added without
somewhere in the dependency tree.default-features = false - basic default = clip, fonts, offset, rotate, scroll, serde-support
-
features that don't depend on the hardware
- clip basic scroll?
-
Affects
frame::clip
,frame::Offset
… - fonts basic = font8x8
-
Affects
sensehat-screen::fonts
… - offset basic
-
Affects
frame::offset
,frame::Offset
… - rotate basic
-
Affects
frame::rotate
… - scroll basic = clip
-
Affects
sensehat-screen::scroll
… - serde-support basic = serde, serde_derive
- linux-framebuffer default = framebuffer
-
feature for using the LED Matrix via the linux framebuffer (/dev/fb*)
Affects
sensehat-screen::screen
… - big-endian
-
feature for compatibility with big-endian architectures.
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.