We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3e2a8d + 2c5cdee commit f07a2e6Copy full SHA for f07a2e6
Cargo.toml
@@ -14,6 +14,7 @@ measurements = "0.10.2"
14
i2cdev = "0.4.0"
15
byteorder = "1.0"
16
libc = { version = "0.2", optional = true }
17
+sensehat-screen = { version = "0.1", optional = true }
18
19
[build-dependencies]
20
gcc = "0.3"
@@ -23,6 +24,7 @@ gcc = "0.3"
23
24
# packages, but they are strictly optional.
25
default = ["rtimu"]
26
rtimu = [ "libc" ]
27
+led-matrix = ["sensehat-screen"]
28
29
[package.metadata.docs.rs]
30
features = [ ]
src/lib.rs
@@ -22,6 +22,9 @@ extern crate measurements;
22
#[cfg(feature = "rtimu")]
extern crate libc;
+#[cfg(feature = "led-matrix")]
+extern crate sensehat_screen;
+
mod rh;
mod hts221;
mod lps25h;
0 commit comments