inky-ticker/Cargo.toml

46 lines
1.3 KiB
TOML
Raw Permalink Normal View History

2022-08-02 19:50:40 +00:00
[package]
name = "inky-ticker"
version = "0.1.0"
edition = "2021"
authors = ["Felix Suchert <dev@felixsuchert.de>"]
2022-08-02 19:50:40 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2023-05-29 09:52:40 +00:00
embedded-graphics = "0.8"
2023-05-29 12:48:19 +00:00
embedded-plots = { git = "https://code.dummyco.de/feliix42/embedded-plots" }
2023-05-29 09:52:40 +00:00
tinybmp = "0.5"
2023-05-29 12:48:19 +00:00
# profont = "0.6"
# FIXME(feliix42): Hotfix for embedded-graphics compatibility
profont = { git = "https://github.com/sambenko/profont", branch = "embedded-graphics-0.8.0-fixes" }
2022-08-06 14:45:30 +00:00
ssd1675 = { git = "https://github.com/Feliix42/ssd1675" }
#ssd1675 = { path = "../ssd1675" }
2022-08-02 19:50:40 +00:00
# for parsing the weather api data
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2022-08-07 19:29:03 +00:00
# for retrieving weather data from the API
ureq = { version = "2.6", features = ["json"] }
2023-05-29 09:52:40 +00:00
# for parsing timestamps from APIs
time = { version = "0.3", features = ["macros", "parsing", "local-offset"] }
2022-08-07 19:29:03 +00:00
2022-08-02 19:50:40 +00:00
linux-embedded-hal = { version = "0.3.2", optional = true }
2023-05-29 09:52:40 +00:00
embedded-graphics-simulator = { version = "0.5", optional = true }
2022-08-02 19:50:40 +00:00
[features]
inky = ["linux-embedded-hal"]
simulator = ["embedded-graphics-simulator"]
[[bin]]
name = "inky"
path = "src/bin/inky.rs"
required-features = ["inky"]
[[bin]]
name = "simulator"
path = "src/bin/simulator.rs"
required-features = ["simulator"]