Skip to content

Releases: lvgl/lv_binding_rust

Release 0.6.2

02 Apr 19:25
Compare
Choose a tag to compare

Fixed

  • Fix build in docs.rs

Release 0.6.1

02 Apr 15:31
Compare
Choose a tag to compare

Fixed

  • Excluded LVGL demos due to crates.io binary size limits

Release 0.6.0

02 Apr 14:55
Compare
Choose a tag to compare

Added

  • Support pointer input devices #62
  • Enable interop with lv_drivers #64
  • Allow using both custom and built-in fonts #76
  • Support setting the LVGL timer from Rust #81
  • Support building from Windows #55
  • Enable using the vendored LVGL config #56
  • Allow screen switching #57
  • Add examples for #64 and #81
  • Add a lot of documentation

Fixed

  • Example README now properly specifies how to run
  • No more undefined behavior if LVGL is not properly initialized
  • Fixed various miscompilations and counts of undefined behavior

Changed

  • Changed core API entirely #51
  • Updated LVGL to 8.3.5 #67
  • Updated dependencies #61

Removed

  • The UI struct and its related API

Release 0.5.2

06 Mar 21:09
Compare
Choose a tag to compare

Improvements:

  • Make lvgl possible to compile to WASM using Emscripten #31 (complete example available at lvgl-rs-wasm and live on the web)
  • Expose RGB values from Color #29
  • Fix documentation generation, now we will be visible in docs.rs website 🥳 #41
  • Fix compiler error when running the examples #40
  • Updated README:
    • Added a hint to install SDL2 before running the demos on macOS #36
    • Add system dependencies for compilation #41

Release 0.4.0

19 Jun 16:56
Compare
Choose a tag to compare

Improvements:

  • Removes the dependency on alloc crate;
  • Simplify examples by removing the use of threads;

Release 0.3.1

14 Jun 15:01
Compare
Choose a tag to compare
  • Replace string.c with implementation in Rust.

Release 0.3.0

14 Jun 09:30
Compare
Choose a tag to compare

New code generation for the safe bindings based on the syn crate. This uses lvgl-codegen directly, which implements code generation for known patterns. This avoids a lot of manual work to expose LVGL API as safe Rust API.

Improvements:

  • Code generation is completely transparent to users;
  • No (direct) dependency on clang-rs;
  • The code in lvgl-codegen gets cleaner and intuitive to write, since now we are processing Rust code instead of C. C is completely abstracted at the lvgl-sys/rust-bindgen level;