Skip to content

Commit

Permalink
add embedded-hal-async
Browse files Browse the repository at this point in the history
  • Loading branch information
vhdirk committed Nov 6, 2023
1 parent cff9130 commit 3b13abf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ edition = "2021"

[dependencies]
embedded-graphics-core = { version = "0.4", optional = true }

embedded-hal = { version = "1.0.0-rc.1" }
embedded-hal-bus = { version = "0.1.0-rc.1", git="https://github.com/rust-embedded/embedded-hal" }
embedded-hal-async = { optional = true, version = "1.0.0-rc.1", git="https://github.com/rust-embedded/embedded-hal" }

bit_field = "0.10.1"

[dev-dependencies]
Expand Down Expand Up @@ -54,12 +58,13 @@ required-features = ["linux-dev"]

[features]
# Remove the linux-dev feature to build the tests on non unix systems
default = ["graphics", "linux-dev", "epd2in13_v3"]
default = ["async", "epd2in13_v3", "graphics"] #["dep:embedded-hal", "graphics", "linux-dev", "epd2in13_v3"]

graphics = ["embedded-graphics-core"]
epd2in13_v2 = []
epd2in13_v3 = []
linux-dev = []
async = ["dep:embedded-hal-async", "embedded-hal-bus/async"]

# Offers an alternative fast full lut for type_a displays, but the refreshed screen isnt as clean looking
type_a_alternative_faster_lut = []

0 comments on commit 3b13abf

Please sign in to comment.