inky-ticker/Cargo.toml
Felix Suchert b8c2dea685
Replace reqwest with ureq (#2)
This replaces the `reqwest` crate with `ureq`, a smaller, less fat
alternative HTTP client. Using the new library helped shaving off about
50 project dependencies.
2023-03-28 17:40:56 +02:00

41 lines
997 B
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.7.1"
embedded-plots = "0.2.0"
tinybmp = "0.3.3"
profont = "0.5.0"
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"] }
linux-embedded-hal = { version = "0.3.2", optional = true }
embedded-graphics-simulator = { version = "0.3.0", 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"]