-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (38 loc) · 1.21 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
41
42
[package]
name = "pi_clock"
version = "0.1.0"
authors = ["Rob Dimsdale-Zucker <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
chrono = "0.4.39"
lazy_static = "1.5.0"
log = "0.4.22"
num-traits = "0.2.19"
rand = "0.8.0"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.135"
simplelog = "0.12.2"
structopt = "0.3.21"
ureq = { version = "2.9.1", features = ["json"] }
adafruit-alphanum4 = {version = "0.1.2", optional = true}
adafruit-7segment = {version = "0.1.0", optional = true}
display-interface-spi = {version = "0.5.0", optional = true}
embedded-hal = {version = "1.0.0", optional = true}
hd44780-driver = {version = "0.4.0", optional = true}
ht16k33 = {version = "0.4.0", optional = true}
linux-embedded-hal = {version = "0.3", optional = true}
rppal = {version = "0.22.1", features = ["hal"], optional = true}
veml6030 = {version = "0.1.2", optional = true}
[features]
rpi-hw = [
"dep:adafruit-alphanum4",
"dep:adafruit-7segment",
"dep:display-interface-spi",
"dep:embedded-hal",
"dep:hd44780-driver",
"dep:ht16k33",
"dep:linux-embedded-hal",
"dep:rppal",
"dep:veml6030",
]