vello/examples/with_winit/Cargo.toml

29 lines
796 B
TOML
Raw Normal View History

[package]
name = "with_winit"
description = "An example using vello to render to a winit window"
2022-12-09 04:43:09 +11:00
version.workspace = true
edition.workspace = true
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
wgpu = "0.14"
vello = { path = "../../", features = ["buffer_labels"] }
winit = "0.27.5"
pollster = "0.2.5"
# for picosvg
roxmltree = "0.13"
clap = { version = "4.1.0", features = ["derive"] }
2023-01-22 07:29:23 +11:00
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"
2022-12-09 04:43:09 +11:00
web-sys = "0.3.60"