[package] name = "swamp-asset-reader" version = "0.0.9" edition = "2021" license = "MIT" description = "reads assets async on multiple platforms" repository = "https://github.com/piot/swamp-render" categories = ["game-development"] keywords = ["game", "loading", "async"] [dependencies] tracing = "0.1.40" async-trait = "0.1.83" [target.'cfg(target_arch = "wasm32")'.dependencies] web-sys = { version = "0.3.72", features = [ "Window", "WorkerGlobalScope", "Response", "Request", "RequestInit", "RequestMode", "Blob", "console" ] } js-sys = "0.3.72" wasm-bindgen = "0.2.95" wasm-bindgen-futures = "0.4.45" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { version = "1.41.1", features = ["full"] } # only for debug