# Copyright © 2024 Slint project authors (see AUTHORS or LICENSE-MIT)
# SPDX-License-Identifier: MIT

[package]
name = "bevy-hosts-slint-gpu"
version = "1.16.0"
authors = ["Slint Developers <info@slint.dev>"]
edition = "2024"
publish = false
license = "MIT"
description = "Slint Bevy Integration Example (GPU)"

[[bin]]
name = "bevy_hosts_slint_gpu"
path = "main.rs"

[dependencies]
slint = { path = "../../../api/rs/slint", default-features = false, features = ["renderer-femtovg-wgpu", "unstable-wgpu-28", "std", "compat-1-2"] }
# Bevy 0.19.0-dev (pre-release) pinned to specific commit for wgpu 28 support.
# Update to bevy 0.19 stable once released.
bevy = { git = "https://github.com/bevyengine/bevy", rev = "cc172dfc" }
bevy_image = { git = "https://github.com/bevyengine/bevy", rev = "cc172dfc", features = ["zstd_rust"] }
wgpu-28 = { package = "wgpu", version = "28", default-features = false, features = ["wgsl"] }
spin_on = "0.1.1"
