# 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 = "2021"
name = "tgui"
version = "0.0.3"
authors = ["a2542209451@gmail.com"]
build = false
exclude = [
    "target/*",
    "*.png",
    "*.ttf",
    "assets/*",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern, GPU-accelerated Rust GUI framework with MVVM, Taffy layout, and wgpu rendering."
readme = "README.md"
keywords = [
    "gui",
    "graphics",
    "wgpu",
    "ui",
]
categories = [
    "gui",
    "rendering",
]
license = "MIT"
repository = "https://github.com/nandebishitaoyuan/tgui.git"

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

[[example]]
name = "animation_showcase"
path = "examples/animation_showcase.rs"

[[example]]
name = "basic_window"
path = "examples/basic_window.rs"

[[example]]
name = "input"
path = "examples/input.rs"

[[example]]
name = "layout"
path = "examples/layout.rs"

[[example]]
name = "layout_theme_showcase"
path = "examples/layout_theme_showcase.rs"

[[example]]
name = "mvvm_counter"
path = "examples/mvvm_counter.rs"

[[example]]
name = "theme"
path = "examples/theme.rs"

[[example]]
name = "widgets_showcase"
path = "examples/widgets_showcase.rs"

[dependencies.bytemuck]
version = "1.24"
features = ["derive"]

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

[dependencies.log]
version = "0.4.29"

[dependencies.pollster]
version = "0.4"

[dependencies.taffy]
version = "0.10"

[dependencies.wgpu]
version = "29"
features = ["wgsl"]

[dependencies.winit]
version = "0.30"
