mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
Changed the NUTTX dependency branch to 'main' for consistency with repository updates. Updated pixel format check to use FB_FMT_RGB16_565 for better clarity and accuracy. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
24 lines
503 B
TOML
24 lines
503 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 = "main" }
|
|
|
|
[build-dependencies]
|
|
slint-build = { version = "1.9" }
|