Forgotten parts of the previous commit for adding a graphics feature and using it
parent
2cc4bceac3
commit
9c08d8559e
|
|
@ -18,8 +18,9 @@ travis-ci = { repository = "Caemor/eink-waveshare-rs" }
|
||||||
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["epd1in54", "epd2in9", "epd4in2"]
|
default = ["epd1in54", "epd2in9", "epd4in2", "graphics"]
|
||||||
|
|
||||||
|
graphics = []
|
||||||
epd1in54 = []
|
epd1in54 = []
|
||||||
epd2in9 = []
|
epd2in9 = []
|
||||||
epd4in2 = []
|
epd4in2 = []
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@ authors = ["Christoph Groß <christoph-gross@mailbox.org>"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
#eink_waveshare_rs = { git = "https://github.com/Caemor/eink-waveshare-rs"}
|
#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"
|
linux-embedded-hal = "0.2.0"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,9 @@ authors = ["Christoph Groß <christoph-gross@mailbox.org>"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
||||||
#eink_waveshare_rs = { git = "https://github.com/Caemor/eink-waveshare-rs"}
|
## 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 = "../../"}
|
||||||
|
eink_waveshare_rs = { path = "../../", default-features = false, features = ["epd4in2", "graphics"]}
|
||||||
|
|
||||||
linux-embedded-hal = "0.2.0"
|
linux-embedded-hal = "0.2.0"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue