mirui 0.12.1

A lightweight, no_std ECS-driven UI framework for embedded, desktop, and WebAssembly
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "mirui"
version = "0.12.1"
authors = ["Benign X <1341398182@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, no_std ECS-driven UI framework for embedded, desktop, and WebAssembly"
homepage = "https://github.com/W-Mai/mirui"
documentation = "https://docs.rs/mirui"
readme = "README.md"
keywords = [
    "ui",
    "gui",
    "ecs",
    "embedded",
    "no-std",
]
categories = [
    "gui",
    "embedded",
]
license = "MIT"
repository = "https://github.com/W-Mai/mirui"

[features]
default = ["quad-aa"]
perf = []
quad-aa = []
sdl = [
    "dep:sdl2",
    "std",
]
sdl-gpu = [
    "sdl",
    "dep:sdl2-sys",
    "dep:lyon",
    "dep:lru",
]
std = []

[lib]
name = "mirui"
path = "src/lib.rs"

[[test]]
name = "compose_backend_basic"
path = "tests/compose_backend_basic.rs"

[[test]]
name = "compose_backend_fail"
path = "tests/compose_backend_fail.rs"

[[test]]
name = "dirty_tests"
path = "tests/dirty_tests.rs"

[[test]]
name = "draw_tests"
path = "tests/draw_tests.rs"

[[test]]
name = "ecs_tests"
path = "tests/ecs_tests.rs"

[[test]]
name = "event_tests"
path = "tests/event_tests.rs"

[[test]]
name = "layout_tests"
path = "tests/layout_tests.rs"

[[test]]
name = "plugin_hooks"
path = "tests/plugin_hooks.rs"

[[test]]
name = "widget_tests"
path = "tests/widget_tests.rs"

[dependencies.lru]
version = "0.12"
optional = true
default-features = false

[dependencies.lyon]
version = "1.0"
optional = true

[dependencies.sdl2]
version = "0.37"
optional = true

[dependencies.sdl2-sys]
version = "0.37"
optional = true

[dev-dependencies.trybuild]
version = "1"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true