rust-embedded-community / ssd1306

SSD1306 OLED driver
Apache License 2.0
301 stars 68 forks source link

Fail to compile #102

Closed pronvis closed 4 years ago

pronvis commented 4 years ago

Description of the problem/feature request/other

Fail to compile this project because embedded-graphics removed Drawing trait.

cargo build  --example image_i2c
   Compiling ssd1306 v0.3.0-alpha.2 (/Users/pronvis/rust/xxx/ssd1306)
error[E0432]: unresolved import `self::embedded_graphics::Drawing`
   --> src/mode/graphics.rs:267:5
    |
267 |     Drawing,
    |     ^^^^^^^ no `Drawing` in the root
jamwaffles commented 4 years ago

Thanks for reporting this. It's now fixed and released in 0.3.0-alpha.3.

pronvis commented 4 years ago

Wow... interesting fix))) Thanks!

jamwaffles commented 4 years ago

No problem! Apologies for the breakage