lightvgl-sys

Crates.iolightvgl-sys
lib.rslightvgl-sys
version9.4.3
created_at2025-09-26 21:32:27.453367+00
updated_at2025-12-17 21:30:21.045032+00
descriptionRaw bindings to the LVGL C library.
homepagehttps://lvgl.io
repositoryhttps://github.com/SakiiCode/lightvgl-sys
max_upload_size
id1856673
size25,912,940
Sakii (SakiiCode)

documentation

README

lightvgl-sys

Rust raw bindings for the LVGL C library.

Usage

Build requires the following environment variables to be set:

  • DEP_LV_CONFIG_PATH: Path to the directory containing the lv_conf.h header file used for configuration of the LVGL library.

It is easier to store them in .cargo/config.toml then rust-analyzer will also pick them up.

[env]
DEP_LV_CONFIG_PATH = { relative = true, value = "." }

Alternatively, it can be added before cargo commands:

DEP_LV_CONFIG_PATH=`pwd` cargo build

Compatibility table

lightvgl-sys LVGL
9.4.x 9.4.0
9.3.x 9.3.0
9.2.x 9.2.2

See also

If looking for safe bindings, check out lv_bevy_ecs

Commit count: 0

cargo fmt