31 lines
637 B
TOML
31 lines
637 B
TOML
|
[package]
|
||
|
name = "minimal-web"
|
||
|
version = "0.1.0"
|
||
|
authors = ["Jay Oster <jay@kodewerx.org>"]
|
||
|
edition = "2018"
|
||
|
resolver = "2"
|
||
|
publish = false
|
||
|
|
||
|
[features]
|
||
|
optimize = ["log/release_max_level_warn"]
|
||
|
web = ["wgpu/webgl", "winit/web-sys"]
|
||
|
default = ["optimize"]
|
||
|
|
||
|
[dependencies]
|
||
|
log = "0.4"
|
||
|
pixels = { path = "../.." }
|
||
|
wgpu = "0.11"
|
||
|
winit = "0.25"
|
||
|
winit_input_helper = "0.10"
|
||
|
|
||
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||
|
console_error_panic_hook = "0.1"
|
||
|
console_log = "0.2"
|
||
|
wasm-bindgen = "0.2.78"
|
||
|
wasm-bindgen-futures = "0.4"
|
||
|
web-sys = "0.3"
|
||
|
|
||
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||
|
env_logger = "0.9"
|
||
|
pollster = "0.2"
|