[package]
edition = "2021"
rust-version = "1.75"
name = "epdsi"
version = "0.1.3"
authors = ["Mariusz Jurgielewicz <mordor@mail.com>"]
build = false
exclude = [
".agents/",
".github/",
".idea/",
"CLAUDE.md",
"**/.DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std embedded-hal 1.0 compatible Rust driver framework for Electronic Paper Displays (EPD): SSD1680, SSD1681, SSD1677, UC8253, JD79661, ED2208, Pervasive Displays COG"
homepage = "https://github.com/melastmohican/epdsi"
documentation = "https://docs.rs/epdsi"
readme = "README.md"
keywords = [
"epd",
"e-paper",
"e-ink",
"embedded-hal",
"embedded-graphics",
]
categories = [
"embedded",
"no-std",
"hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/melastmohican/epdsi"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["graphics"]
defmt = ["dep:defmt"]
graphics = ["dep:embedded-graphics-core"]
[lib]
name = "epdsi"
path = "src/lib.rs"
[[test]]
name = "buffer_tests"
path = "tests/buffer_tests.rs"
[[test]]
name = "compile_tests"
path = "tests/compile_tests.rs"
[[test]]
name = "ed2208_tests"
path = "tests/ed2208_tests.rs"
[[test]]
name = "pervasive_bwry_tests"
path = "tests/pervasive_bwry_tests.rs"
[[test]]
name = "pervasive_tests"
path = "tests/pervasive_tests.rs"
[[test]]
name = "ssd1677_tests"
path = "tests/ssd1677_tests.rs"
[[test]]
name = "ssd1680_tests"
path = "tests/ssd1680_tests.rs"
[[test]]
name = "ssd1681_tests"
path = "tests/ssd1681_tests.rs"
[[test]]
name = "uc8253_tests"
path = "tests/uc8253_tests.rs"
[dependencies.defmt]
version = "0.3"
optional = true
[dependencies.embedded-graphics-core]
version = "0.4.0"
optional = true
[dependencies.embedded-hal]
version = "1.0.0"
[dev-dependencies.embedded-graphics]
version = "0.8.1"
[dev-dependencies.embedded-hal-mock]
version = "0.11.1"
[profile.dev]
opt-level = 1
[profile.release]
opt-level = 3
lto = true