8 releases (stable)
2.0.1 | Oct 21, 2020 |
---|---|
2.0.0 | Oct 19, 2020 |
1.0.4 | Oct 12, 2020 |
0.4.0 | Oct 7, 2020 |
#1482 in Embedded development
Used in 3 crates
(via pinetime-watchface)
15MB
317K
SLoC
Contains (WOFF font, 5MB) SimSun.woff
Rust LVGL Bindings for Mynewt on PineTime Smart Watch
This crate contains LVGL Bindings used by the PineTime Watch Face Framework: pinetime-watchface
Check out a sample watch face created with this framework: barebones-watchface
The LVGL Bindings are compatible with PineTime Mynewt Firmware pinetime-rust-mynewt
and with PineTime WebAssembly Simulator lvgl-wasm
Refer to the article...
"Create Your Own PineTime Watch Face in Rust... And Publish on crates.io"
To generate bindings and publish to crates.io...
scripts/gen-bindings.sh
cargo package --list --allow-dirty
cargo publish --dry-run --allow-dirty
cargo publish
See src
for more details.
lib.rs
:
LVGL API for Rust. Contains Rust bindings for LVGL API for C, generated by bindgen
.
Also includes safe versions of LVGL APIs created specially for Rust.