# 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"
name = "lurq"
version = "0.10.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust UI toolkit with typed components, retained state, reactive signals, GPU rendering, and DevTools."
homepage = "https://ivanzaida.github.io/lurq/"
documentation = "https://docs.rs/lurq"
readme = "README.md"
keywords = [
    "ui",
    "gui",
    "reactive",
    "wgpu",
    "devtools",
]
categories = [
    "gui",
    "rendering",
]
license = "MIT"
repository = "https://github.com/ivanzaida/lurq"
resolver = "2"

[features]
clipboard = ["dep:arboard"]
default = []
devtools = []
dx12 = [
    "render",
    "dep:windows",
]
form = []
i18n = []
image = ["dep:image"]
render = ["dep:bytemuck"]
resources = ["dep:ureq"]
router = []
serde = ["dep:serde_json"]
svg = [
    "dep:usvg",
    "dep:lyon",
    "dep:tiny-skia",
]
tokio = ["dep:tokio"]
wgpu = [
    "render",
    "dep:wgpu",
    "dep:pollster",
]
winit = ["dep:winit"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arboard]
version = "3"
optional = true

[dependencies.bytemuck]
version = "1"
features = ["derive"]
optional = true

[dependencies.cosmic-text]
version = "0.12"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "webp",
    "gif",
    "bmp",
    "tiff",
]
optional = true
default-features = false

[dependencies.lurq_macros]
version = "0.1.0"

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

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.paste]
version = "1"

[dependencies.pollster]
version = "0.4"
optional = true

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

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.swash]
version = "0.1.19"

[dependencies.tiny-skia]
version = "0.11"
optional = true

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
]
optional = true

[dependencies.ureq]
version = "3.3.0"
optional = true

[dependencies.usvg]
version = "0.45"
optional = true

[dependencies.wgpu]
version = "24"
optional = true

[dependencies.windows]
version = "0.58"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D",
    "Win32_Graphics_Direct3D_Fxc",
    "Win32_Graphics_Direct3D12",
    "Win32_Graphics_Dxgi",
    "Win32_Graphics_Dxgi_Common",
    "Win32_Security",
    "Win32_System_Threading",
]
optional = true

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

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

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
