forked from rust-embedded-community/sensehat-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 lines (30 loc) · 1 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
[package]
name = "sensehat"
version = "1.1.0"
authors = ["Jonathan Pallant <[email protected]>"]
license-file = "LICENSE.md"
documentation = "https://docs.rs/crate/sensehat"
repository = "https://github.com/thejpster/sensehat-rs"
keywords = ["sensehat", "raspberry", "pi", "sensors"]
description = "Interface with the Raspberry Pi Foundation's official Sense HAT sensor board."
readme = "README.md"
[dependencies]
measurements = "0.10.2"
i2cdev = "0.4.0"
byteorder = "1.0"
libc = { version = "0.2", optional = true }
sensehat-screen = { version = "0.2", optional = true }
tint = { version = "1.0", optional = true }
[build-dependencies]
gcc = "0.3"
[features]
# The default set of optional packages. Most people will want to use these
# packages, but they are strictly optional.
default = ["rtimu", "led-matrix"]
# Extra packages required by these features.
rtimu = ["libc"]
led-matrix = ["sensehat-screen", "tint"]
[package.metadata.docs.rs]
features = ["led-matrix"]
all-features = false
no-default-features = true