swr-runtime-web 0.1.0

Browser (wasm32) implementation of the swr-core Runtime trait with focus/online event sources
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "swr-runtime-web"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Browser (wasm32) implementation of the swr-core Runtime trait with focus/online event sources"
readme = "README.md"
keywords = [
    "swr",
    "cache",
    "async",
    "query",
    "revalidate",
]
categories = [
    "caching",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AprilNEA/swr-rs"

[lib]
name = "swr_runtime_web"
path = "src/lib.rs"

[[test]]
name = "browser"
path = "tests/browser.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-events]
version = "0.3.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.4.0"
features = ["futures"]

[target.'cfg(target_arch = "wasm32")'.dependencies.swr-core]
version = "0.1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.127"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.77"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.104"
features = [
    "Window",
    "Document",
    "Event",
    "EventTarget",
    "VisibilityState",
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.77"