45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
[package]
|
|
name = "inky-ticker"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
authors = ["Felix Suchert <dev@felixsuchert.de>"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
embedded-graphics = "0.8"
|
|
embedded-plots = { git = "https://code.dummyco.de/feliix42/embedded-plots" }
|
|
tinybmp = "0.5"
|
|
# profont = "0.6"
|
|
# FIXME(feliix42): Hotfix for embedded-graphics compatibility
|
|
profont = { git = "https://github.com/sambenko/profont", branch = "embedded-graphics-0.8.0-fixes" }
|
|
ssd1675 = { git = "https://github.com/Feliix42/ssd1675" }
|
|
#ssd1675 = { path = "../ssd1675" }
|
|
|
|
# for parsing the weather api data
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# for retrieving weather data from the API
|
|
ureq = { version = "2.6", features = ["json"] }
|
|
# for parsing timestamps from APIs
|
|
time = { version = "0.3", features = ["macros", "parsing", "local-offset"] }
|
|
|
|
linux-embedded-hal = { version = "0.3.2", optional = true }
|
|
embedded-graphics-simulator = { version = "0.5", optional = true }
|
|
|
|
|
|
[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"]
|