embedded-gui 0.2.1

no_std GUI and HUD primitives for embedded-graphics displays
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.87"
name = "embedded-gui"
version = "0.2.1"
authors = ["Gerzain Mata <leftger@gmail.com>"]
build = "build.rs"
exclude = [
    "docs/screenshots/*.gif",
    "docs/screenshots/*.png",
    "assets/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std GUI and HUD primitives for embedded-graphics displays"
homepage = "https://github.com/leftger/embedded-gui"
documentation = "https://docs.rs/embedded-gui"
readme = "README.md"
keywords = [
    "embedded-graphics",
    "gui",
    "hud",
    "embedded",
    "no_std",
]
categories = [
    "embedded",
    "gui",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/leftger/embedded-gui"

[features]
default = [
    "std",
    "rich-widgets",
]
embassy = [
    "embassy-time",
    "dep:embassy-sync",
]
embassy-time = ["dep:embassy-time"]
embedded-3dgfx = [
    "dep:embedded-3dgfx",
    "embedded-graphics",
    "dep:nalgebra",
]
embedded-dsp = [
    "dep:embedded-dsp",
    "embedded-dsp/filtering",
    "embedded-dsp/statistics",
]
embedded-graphics = ["dep:embedded-graphics"]
embedded-layout = [
    "dep:embedded-layout",
    "dep:embedded-graphics",
]
embedded-text = [
    "dep:embedded-text",
    "dep:embedded-graphics",
]
image-decode = ["std"]
libm = [
    "dep:libm",
    "embedded-dsp?/libm",
]
micromath = ["dep:micromath"]
rich-widgets = []
std = ["embedded-dsp?/std"]
triple-buffering = []

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

[[example]]
name = "completion_swapchain_sim"
path = "examples/integrations/completion_swapchain_sim.rs"
required-features = ["std"]

[[example]]
name = "custom_font_showcase"
path = "examples/basics/custom_font_showcase.rs"
required-features = ["std"]

[[example]]
name = "embassy_gui_frame"
path = "examples/integrations/embassy_gui_frame.rs"
required-features = [
    "embassy",
    "std",
]

[[example]]
name = "embedded_3dgfx_overlay"
path = "examples/integrations/embedded_3dgfx_overlay.rs"
required-features = [
    "embedded-3dgfx",
    "std",
]

[[example]]
name = "interop_showcase"
path = "examples/integrations/interop_showcase.rs"
required-features = [
    "embedded-text",
    "embedded-layout",
]

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

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

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

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

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

[[bench]]
name = "gui_benchmarks"
path = "benches/gui_benchmarks.rs"
harness = false

[dependencies.critical-section]
version = "1.1"

[dependencies.embassy-sync]
version = "0.8"
optional = true
default-features = false

[dependencies.embassy-time]
version = "0.5"
optional = true
default-features = false

[dependencies.embedded-3dgfx]
version = "0.5.3"
optional = true

[dependencies.embedded-draw-target]
version = "0.1.1"

[dependencies.embedded-dsp]
version = "0.2.0"
optional = true
default-features = false

[dependencies.embedded-graphics]
version = "0.8"
optional = true

[dependencies.embedded-graphics-core]
version = "0.4.1"

[dependencies.embedded-graphics-framebuf]
version = "0.3"

[dependencies.embedded-layout]
version = "0.4.2"
optional = true

[dependencies.embedded-text]
version = "0.7.3"
optional = true

[dependencies.heapless]
version = "0.9"

[dependencies.libm]
version = "0.2"
optional = true

[dependencies.micromath]
version = "2.1"
optional = true

[dependencies.nalgebra]
version = "0.35"
features = ["libm"]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.critical-section]
version = "1.1"
features = ["std"]

[dev-dependencies.embassy-sync]
version = "0.8"

[dev-dependencies.embassy-time]
version = "0.5"
features = ["std"]

[dev-dependencies.embedded-3dgfx]
version = "0.5.3"

[dev-dependencies.embedded-graphics]
version = "0.8"

[dev-dependencies.embedded-graphics-framebuf]
version = "0.3"

[dev-dependencies.embedded-graphics-simulator]
version = "0.8"

[dev-dependencies.nalgebra]
version = "0.35"
features = ["std"]
default-features = false