2022-11-26 14:27:19 -05:00
|
|
|
[package]
|
2023-01-05 09:32:09 +00:00
|
|
|
name = "with_winit"
|
2023-01-13 19:30:08 +00:00
|
|
|
description = "An example using vello to render to a winit window"
|
2023-02-06 20:12:46 +00:00
|
|
|
publish = false
|
|
|
|
|
2022-12-08 12:43:09 -05:00
|
|
|
version.workspace = true
|
2023-02-06 20:12:46 +00:00
|
|
|
license.workspace = true
|
2022-12-08 12:43:09 -05:00
|
|
|
edition.workspace = true
|
2023-02-06 20:12:46 +00:00
|
|
|
repository.workspace = true
|
2022-11-26 14:27:19 -05:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2023-03-05 11:33:30 +00:00
|
|
|
[lib]
|
|
|
|
name = "with_winit"
|
|
|
|
crate-type = ["cdylib", "lib"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
# Stop the PDB collision warning on windows
|
|
|
|
name = "with_winit_bin"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2022-11-26 14:27:19 -05:00
|
|
|
[dependencies]
|
2023-06-01 16:10:27 +01:00
|
|
|
vello = { path = "../../", features = ["buffer_labels", "wgpu-profiler"] }
|
2023-02-03 10:22:39 +00:00
|
|
|
scenes = { path = "../scenes" }
|
2023-02-06 20:12:46 +00:00
|
|
|
anyhow = { workspace = true }
|
|
|
|
clap = { workspace = true, features = ["derive"] }
|
2023-04-23 16:00:01 -07:00
|
|
|
instant = { workspace = true }
|
2023-03-16 15:44:10 +00:00
|
|
|
pollster = { workspace = true }
|
2023-06-01 16:10:27 +01:00
|
|
|
wgpu-profiler = { workspace = true }
|
2023-02-06 20:12:46 +00:00
|
|
|
|
|
|
|
wgpu = { workspace = true }
|
|
|
|
winit = "0.28.1"
|
2023-01-21 14:29:23 -06:00
|
|
|
env_logger = "0.10.0"
|
2023-03-05 11:33:30 +00:00
|
|
|
log = "0.4.17"
|
2022-11-29 19:35:46 -08:00
|
|
|
|
2023-03-05 11:33:30 +00:00
|
|
|
[target.'cfg(not(any(target_arch = "wasm32", target_os = "android")))'.dependencies]
|
2023-01-16 17:24:48 +00:00
|
|
|
vello = { path = "../../", features = ["hot_reload"] }
|
2023-07-17 22:32:19 +07:00
|
|
|
notify-debouncer-mini = "0.3"
|
2023-01-16 17:24:48 +00:00
|
|
|
|
2023-03-05 11:33:30 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
winit = { version = "0.28", features = ["android-native-activity"] }
|
2023-03-16 15:44:10 +00:00
|
|
|
android_logger = "0.13.0"
|
2023-03-05 11:33:30 +00:00
|
|
|
|
2022-11-29 19:35:46 -08:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
console_error_panic_hook = "0.1.7"
|
2023-07-17 22:32:19 +07:00
|
|
|
console_log = "1"
|
2022-11-29 19:35:46 -08:00
|
|
|
wasm-bindgen-futures = "0.4.33"
|
2023-04-28 13:49:12 -07:00
|
|
|
web-sys = { version = "0.3.60", features = [ "HtmlCollection", "Text" ] }
|