rust-embedded-community / sh1106

SH1106 driver for use with embedded_hal and (optionally) embedded_graphics
Apache License 2.0
34 stars 36 forks source link

unresolved import `self::embedded_graphics::Drawing` #17

Closed faulesocke closed 4 years ago

faulesocke commented 4 years ago
    Checking sh1106 v0.3.0-alpha.3
error[E0432]: unresolved import `self::embedded_graphics::Drawing`
   --> .../.cargo/registry/src/github.com-1ecc6299db9ec823/sh1106-0.3.0-alpha.3/src/mode/graphics.rs:176:5
    |
176 |     Drawing,
    |     ^^^^^^^ no `Drawing` in the root

error: aborting due to previous error

It looks like this was removed in embedded-graphics-0.6.0-alpha.3. A workaround is to put the following inside Cargo.toml:

embedded-graphics = "=0.6.0-alpha.2"
jamwaffles commented 4 years ago

Thanks for spotting this. Version 0.3.0-alpha.4 should fix this. Let me know if you run into any more issues!