* Use new replace_node_with name for replace_placeholder_with_nodes * Setup tracing for wgpu-texture support * Use asset macro in wgpu-texture example * Use src attribute rather than data for canvas source Signed-off-by: Nico Burns <nico@nicoburns.com> * Upgrade to blitz 0.1.0-alpha.4 Signed-off-by: Nico Burns <nico@nicoburns.com> --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
24 lines
526 B
TOML
24 lines
526 B
TOML
# Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
[package]
|
|
name = "wgpu-texture"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
publish = false
|
|
|
|
[features]
|
|
default = ["desktop"]
|
|
desktop = ["dioxus/desktop"]
|
|
native = ["dioxus/native"]
|
|
tracing = ["dep:tracing-subscriber", "dioxus-native/tracing"]
|
|
|
|
[dependencies]
|
|
dioxus-native = { path = "../../packages/native" }
|
|
dioxus = { workspace = true }
|
|
wgpu = "24"
|
|
bytemuck = "1"
|
|
color = "0.3"
|
|
tracing-subscriber = { workspace = true, optional = true }
|