[package] name = "wasm-cache" version = "0.2.1" edition = "2021" authors = ["Patrick Elsen "] license = "MIT" description = "Request cache for Rust browser WASM applications" repository = "https://github.com/xfbs/wasm-cache" [dependencies] async-trait = { version = "0.1.72" } futures = { version = "0.3.28", optional = true } gloo-net = { version = "0.4.0", optional = true } log = { version = "0.4.19" } prokio = { version = "0.1.0", optional = true } serde = { version = "1.0.183", optional = true } serde_json = { version = "1.0.105", optional = true } wasm-bindgen-futures = { version = "0.4.37", optional = true } yew = { version = "0.20.0", optional = true } [features] yew = ["dep:yew", "dep:prokio", "dep:wasm-bindgen-futures"] websocket = ["dep:gloo-net", "dep:wasm-bindgen-futures", "dep:futures", "dep:serde", "dep:serde_json"]