mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-25 08:30:24 +00:00
load assets locally from indexeddb
This commit is contained in:
@@ -38,6 +38,7 @@ web-sys = { version = "0.3.65", optional = true, features = [
|
||||
"Document",
|
||||
"HtmlElement",
|
||||
"Window",
|
||||
"Location"
|
||||
] }
|
||||
clap = { version = "4.4.18", features = ["derive"] }
|
||||
futures-intrusive = "0.5.0"
|
||||
@@ -52,6 +53,10 @@ serde_repr = "0.1.18"
|
||||
bevy_tweening = "0.9"
|
||||
async-compat = "0.2"
|
||||
uuid = { version = "1", features = ["v4", "serde"]}
|
||||
indexed_db_futures = { version = "0.4", optional = true}
|
||||
wasm-bindgen-futures = { version = "0.4", optional = true}
|
||||
dashmap = "5"
|
||||
once_cell = "1"
|
||||
|
||||
[dependencies.reqwest]
|
||||
version = "0.11.24"
|
||||
@@ -67,6 +72,8 @@ wasm = [
|
||||
"dep:js-sys",
|
||||
"dep:serde-wasm-bindgen",
|
||||
"dep:web-sys",
|
||||
"dep:indexed_db_futures",
|
||||
"dep:wasm-bindgen-futures",
|
||||
"bevy_rapier3d/wasm-bindgen",
|
||||
]
|
||||
desktop = []
|
||||
|
||||
Reference in New Issue
Block a user