-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
40 lines (35 loc) · 1.29 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "sensehat-screen"
description = "A library for using the 8x8-LED matrix, with RGB565 coloring, on the Raspberry Pi Sense HAT device."
version = "0.2.6"
authors = ["Joaquin Rosales <[email protected]>"]
keywords = ["sensehat", "screen", "8x8", "raspberry-pi", "framebuffer"]
categories = ["embedded", "gui", "hardware-support", "rendering::graphics-api"]
homepage = "https://github.com/saibatizoku/sensehat-screen-rs"
repository = "https://github.com/saibatizoku/sensehat-screen-rs"
readme = "README.md"
license = "MIT"
build = "build.rs"
edition = "2018"
[dependencies]
framebuffer = { version = "0.2", optional = true }
font8x8 = { version = "0.2.7", optional = true }
lazy_static = "1.0"
serde = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
[features]
default = ["basic", "linux-framebuffer"]
# features that don't depend on the hardware
basic = ["clip", "fonts", "offset", "rotate", "scroll", "serde-support"]
clip = []
fonts = ["font8x8"]
offset = []
rotate = []
scroll = ["clip"]
serde-support = ["serde", "serde_derive"]
# feature for using the LED Matrix via the linux framebuffer (/dev/fb*)
linux-framebuffer = ["framebuffer"]
# feature for compatibility with big-endian architectures.
big-endian = []
[build-dependencies]
rustc_version = "0.2"