editor/framework/Cargo.toml

25 lines
614 B
TOML
Raw Normal View History

2021-01-10 20:14:39 +00:00
[package]
name = "framework"
version = "0.1.0"
authors = ["Michael Zhang <mail@mzhang.io>"]
edition = "2018"
[dependencies]
2021-01-15 18:49:00 +00:00
anyhow = "1.0.38"
gfx-hal = "0.6.0"
2021-01-15 18:07:20 +00:00
winit = { version = "0.24.0", features = ["web-sys"] }
2021-01-15 18:49:00 +00:00
bass-sys = { path = "../bass-sys" }
2021-01-25 22:04:36 +00:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
gfx-backend-gl = "0.6.1"
web-sys = "0.3.46"
2021-01-15 19:45:11 +00:00
[target.'cfg(target_os = "macos")'.dependencies]
gfx-backend-metal = "0.6.5"
[target.'cfg(windows)'.dependencies]
gfx-backend-dx12 = "0.6.13"
2021-01-25 22:04:36 +00:00
[target.'cfg(not(any(window, target_os = "macos", target_arch = "wasm32")))'.dependencies]
gfx-backend-vulkan = "0.6.5"