Documentation
[dependencies.ab_glyph]
default-features = false
features = ["std"]
version = "0.2.31"

[dependencies.bytemuck]
default-features = false
version = "1.23.1"

[dependencies.glyphon]
version = "0.9.0"

[dependencies.pollster]
default-features = false
version = "0.4.0"

[dependencies.raw-window-handle]
version = "0.6.2"

[dependencies.wgpu]
default-features = false
features = ["vulkan", "webgl", "webgpu"]
version = "25.0.2"

[dependencies.winit]
optional = true
version = "0.30.11"

[[example]]
doc-scrape-examples = false
name = "backend"
path = "examples/backend.rs"

[[example]]
doc-scrape-examples = false
name = "custom_font"
path = "examples/custom_font.rs"

[[example]]
doc-scrape-examples = false
name = "hello_world"
path = "examples/hello_world.rs"

[[example]]
doc-scrape-examples = false
name = "listview"
path = "examples/listview.rs"

[[example]]
doc-scrape-examples = false
name = "mutli_windows"
path = "examples/mutli_windows.rs"

[[example]]
doc-scrape-examples = false
name = "widget"
path = "examples/widget.rs"

[features]
default = []

[lib]
crate-type = ["cdylib", "rlib"]
name = "xlui"
path = "src/lib.rs"

[package]
authors = ["xllgl2017"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Rust GUI库"
edition = "2024"
license = "Apache-2.0"
name = "xlui"
readme = "README.md"
repository = "https://github.com/xllgl2017/xlui"
version = "0.2.2"

[package.metadata.docs.rs]
cargo-args = []
rustc-args = []
rustdoc-args = []

[profile.release]
codegen-units = 1
debug = 0
lto = true
opt-level = "s"
panic = "abort"

[target.'cfg(not(target_os="windows"))'.dependencies.image]
default-features = false
features = ["png", "jpeg"]
version = "0.25.8"

[target.'cfg(target_os="linux")'.dependencies.dbus]
default-features = false
version = "0.9.9"

[target.'cfg(target_os="linux")'.dependencies.x11]
version = "2.21.0"

[target.'cfg(target_os="windows")'.dependencies.windows]
features = ["Win32_Foundation", "Win32_UI_WindowsAndMessaging", "Win32_UI_Shell", "Win32_Graphics_Gdi", "Win32_System_LibraryLoader", "Win32_UI_Input_Ime", "Win32_System_DataExchange", "Win32_System_Ole", "Win32_System_Memory", "Win32_System_Com", "Win32_Graphics_Imaging", "Win32_UI_Input_KeyboardAndMouse"]
version = "0.62.0"

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

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

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

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

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

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

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

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

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

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

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

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