made use_service_worker more in line with the other functions

This commit is contained in:
Maccesch 2023-10-24 00:39:21 -05:00
parent 96cc7f7399
commit 65f8b89d10

View file

@ -13,17 +13,17 @@ repository = "https://github.com/Synphonyte/leptos-use"
homepage = "https://leptos-use.rs" homepage = "https://leptos-use.rs"
[dependencies] [dependencies]
leptos = "0.5" cfg-if = "1"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
default-struct-builder = "0.5" default-struct-builder = "0.5"
js-sys = "0.3"
lazy_static = "1"
leptos = "0.5"
num = { version = "0.4", optional = true } num = { version = "0.4", optional = true }
paste = "1"
serde = { version = "1", optional = true } serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true } serde_json = { version = "1", optional = true }
paste = "1" wasm-bindgen = "0.2"
lazy_static = "1" wasm-bindgen-futures = "0.4"
cfg-if = "1"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3" version = "0.3"