Skip to content

Commit

Permalink
WIP async support
Browse files Browse the repository at this point in the history
  • Loading branch information
XLPhere committed Jan 19, 2025
1 parent 1edb243 commit 8e741c1
Show file tree
Hide file tree
Showing 6 changed files with 332 additions and 253 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ rust-version = "1.62"
[dependencies]
embedded-graphics-core = { version = "0.4", optional = true }
embedded-hal = "1.0.0"
embedded-hal-async = { version = "1.0.0", optional = true }
bit_field = "0.10.1"
maybe-async = { git = "https://github.com/XLPhere/maybe-async-rs.git", branch = "default_sync", features = ["default_sync"] }

[dev-dependencies]
embedded-graphics = "0.8"
Expand Down Expand Up @@ -52,6 +54,7 @@ required-features = ["linux-dev"]
default = ["graphics", "linux-dev", "epd2in13_v3"]

graphics = ["embedded-graphics-core"]
async = ["embedded-hal-async", "maybe-async/is_async"]
epd2in13_v2 = []
epd2in13_v3 = []
linux-dev = []
Expand Down
Loading

0 comments on commit 8e741c1

Please sign in to comment.