mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Forgotten parts of the previous commit for adding a graphics feature and using it
This commit is contained in:
+2
-1
@@ -18,8 +18,9 @@ travis-ci = { repository = "Caemor/eink-waveshare-rs" }
|
||||
|
||||
|
||||
[features]
|
||||
default = ["epd1in54", "epd2in9", "epd4in2"]
|
||||
default = ["epd1in54", "epd2in9", "epd4in2", "graphics"]
|
||||
|
||||
graphics = []
|
||||
epd1in54 = []
|
||||
epd2in9 = []
|
||||
epd4in2 = []
|
||||
|
||||
@@ -6,7 +6,8 @@ authors = ["Christoph Groß <christoph-gross@mailbox.org>"]
|
||||
[dependencies]
|
||||
|
||||
#eink_waveshare_rs = { git = "https://github.com/Caemor/eink-waveshare-rs"}
|
||||
eink_waveshare_rs = { path = "../../"}
|
||||
#eink_waveshare_rs = { path = "../../"}
|
||||
eink_waveshare_rs = { path = "../../", default-features = false, features = ["epd1in54"]}
|
||||
|
||||
linux-embedded-hal = "0.2.0"
|
||||
|
||||
|
||||
@@ -5,8 +5,9 @@ authors = ["Christoph Groß <christoph-gross@mailbox.org>"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
#eink_waveshare_rs = { git = "https://github.com/Caemor/eink-waveshare-rs"}
|
||||
eink_waveshare_rs = { path = "../../"}
|
||||
## The Only difference between this one and the one without default features sizewise seems to be a different .d-file Size (dependencies-file)
|
||||
#eink_waveshare_rs = { path = "../../"}
|
||||
eink_waveshare_rs = { path = "../../", default-features = false, features = ["epd4in2", "graphics"]}
|
||||
|
||||
linux-embedded-hal = "0.2.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user