vello/examples/with_winit/Cargo.toml
2023-02-06 20:12:46 +00:00

33 lines
893 B
TOML

[package]
name = "with_winit"
description = "An example using vello to render to a winit window"
publish = false
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
vello = { path = "../../", features = ["buffer_labels"] }
scenes = { path = "../scenes" }
anyhow = { workspace = true }
clap = { workspace = true, features = ["derive"] }
wgpu = { workspace = true }
winit = "0.28.1"
pollster = "0.2.5"
env_logger = "0.10.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
vello = { path = "../../", features = ["hot_reload"] }
notify-debouncer-mini = "0.2.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
console_log = "0.2"
wasm-bindgen-futures = "0.4.33"
web-sys = "0.3.60"