mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-09 22:45:11 +00:00
Summary: - Added a basic Slint example for NuttX, demonstrating how to integrate Slint UI framework with Rust on NuttX - Includes a simple UI with a counter and touchscreen input handling - Provides CMake, Kconfig, and Makefile configurations for building the example Impact: - Introduces a new example showcasing Slint UI framework usage on NuttX - Enables developers to explore Rust-based UI development on embedded systems - Demonstrates integration with NuttX framebuffer and touchscreen drivers Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
24 lines
505 B
TOML
24 lines
505 B
TOML
[package]
|
|
name = "slint"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib"]
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
codegen-units = 1
|
|
opt-level = 'z'
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
slint = { version = "1.9", default-features = false, features = ["compat-1-2", "renderer-software", "libm", "unsafe-single-threaded"] }
|
|
nuttx = { git = "https://github.com/no1wudi/nuttx-rs.git", branch = "master" }
|
|
|
|
[build-dependencies]
|
|
slint-build = { version = "1.9" }
|