Skip to content

Commit

Permalink
Update min required version to real minimum required version (1.62)
Browse files Browse the repository at this point in the history
  • Loading branch information
caemor committed Dec 5, 2024
1 parent 0ff5bee commit c6427c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ readme = "README.md"
repository = "https://github.com/Caemor/epd-waveshare.git"
version = "0.6.0"
edition = "2021"
rust-version = "1.62"

[dependencies]
embedded-graphics-core = { version = "0.4", optional = true }
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Display ones).

It uses the [embedded graphics](https://crates.io/crates/embedded-graphics) library for the optional graphics support.

A 2018-edition compatible version (Rust 1.31+) is needed.
A 2021-edition compatible version (Rust 1.62+) is needed.

Other similar libraries with support for much more displays are [u8g2](https://github.com/olikraus/u8g2)
and [GxEPD](https://github.com/ZinggJM/GxEPD) for arduino.
Expand Down Expand Up @@ -46,6 +46,7 @@ epd4in2.update_and_display_frame(&mut spi, display.buffer(), &mut delay).expect(
// Going to sleep
epd4in2.sleep(&mut spi, &mut delay)
```

> Check the complete example [here](./examples/epd4in2.rs).
## (Supported) Devices
Expand Down

0 comments on commit c6427c1

Please sign in to comment.