first somewhat working version of uw8 using gpu window

This commit is contained in:
2022-07-08 23:29:39 +02:00
parent b0adf7748d
commit 9dabf75732
5 changed files with 927 additions and 248 deletions

View File

@@ -7,13 +7,13 @@ edition = "2021"
[features]
default = ["native", "browser"]
native = ["wasmtime", "minifb", "cpal", "rubato", "winapi" ]
native = ["wasmtime", "uw8-window", "cpal", "rubato" ]
browser = ["warp", "tokio", "tokio-stream", "webbrowser"]
[dependencies]
wasmtime = { version = "0.37.0", optional = true }
anyhow = "1"
minifb = { version = "0.22", default-features = false, features = ["x11"], optional = true }
uw8-window = { path = "uw8-window", optional = true }
notify = "4"
pico-args = "0.4"
curlywas = { git = "https://github.com/exoticorn/curlywas.git", rev = "0e7ea50" }
@@ -27,4 +27,3 @@ webbrowser = { version = "0.6.0", optional = true }
ansi_term = "0.12.1"
cpal = { version = "0.13.5", optional = true }
rubato = { version = "0.11.0", optional = true }
winapi = { version = "0.3.9", features = ["timeapi"], optional = true }