lvgl-rs/lvgl/Cargo.toml

58 lines
1.4 KiB
TOML
Raw Normal View History

2020-04-10 17:12:10 +00:00
[package]
name = "lvgl"
2021-05-25 23:03:07 +00:00
description = "LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash)."
2021-03-06 23:34:19 +00:00
version = "0.5.2"
2020-04-10 17:12:10 +00:00
authors = ["Rafael Caricio <crates.lvgl@caric.io>"]
edition = "2018"
2020-04-11 18:35:33 +00:00
repository = "https://github.com/rafaelcaricio/lvgl-rs"
2020-04-10 17:12:10 +00:00
license = "MIT"
2020-04-12 10:19:28 +00:00
readme = "../README.md"
categories = ["api-bindings", "embedded", "gui", "no-std"]
keywords = ["littlevgl", "lvgl", "graphical_interfaces"]
2020-06-14 09:25:22 +00:00
build = "build.rs"
2020-04-10 17:12:10 +00:00
[dependencies]
2021-03-06 23:34:19 +00:00
lvgl-sys = { version = "0.5.2", path = "../lvgl-sys" }
2020-05-30 07:32:27 +00:00
cty = "0.2.1"
embedded-graphics = "0.6.2"
2021-03-07 17:25:05 +00:00
cstr_core = "0.2.3"
2020-06-01 20:45:33 +00:00
bitflags = "1.2.1"
2021-05-25 23:03:07 +00:00
[features]
2021-05-26 13:21:28 +00:00
alloc = ["cstr_core/alloc"]
lvgl_alloc = ["alloc"]
2020-06-12 10:41:20 +00:00
2020-06-14 08:02:32 +00:00
[build-dependencies]
2021-03-07 17:25:05 +00:00
quote = "1.0.9"
proc-macro2 = "1.0.24"
2021-03-06 23:34:19 +00:00
lvgl-codegen = { version = "0.5.2", path = "../lvgl-codegen" }
lvgl-sys = { version = "0.5.2", path = "../lvgl-sys" }
2020-06-14 08:02:32 +00:00
2021-05-25 23:03:07 +00:00
[dev-dependencies]
embedded-graphics-simulator = "0.2.1"
heapless = "0.5.5"
[[example]]
name = "demo"
path = "../examples/demo.rs"
2021-05-26 13:21:28 +00:00
required-features = ["alloc"]
2021-05-25 23:03:07 +00:00
[[example]]
name = "bar"
path = "../examples/bar.rs"
2021-05-26 13:21:28 +00:00
required-features = ["alloc"]
2021-05-25 23:03:07 +00:00
[[example]]
name = "button_click"
path = "../examples/button_click.rs"
2021-05-26 13:21:28 +00:00
required-features = ["alloc"]
2021-05-25 23:03:07 +00:00
[[example]]
name = "gauge"
path = "../examples/gauge.rs"
[[example]]
name = "arc"
path = "../examples/arc.rs"
2021-05-26 13:21:28 +00:00
required-features = ["lvgl_alloc"]