leptos-use-intersection-observer 0.20.0

Reactive [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)
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"
name = "leptos-use-intersection-observer"
version = "0.20.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reactive [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver)"
homepage = "https://leptos-use.rs"
readme = "README.md"
keywords = [
    "leptos",
    "utilities",
    "reactive",
]
categories = [
    "gui",
    "wasm",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Synphonyte/leptos-use"

[package.metadata.docs.rs]
features = ["ssr"]
rustc-args = ["--cfg=web_sys_unstable_apis"]
rustdoc-args = ["--cfg=web_sys_unstable_apis"]

[features]
ssr = [
    "leptos-use-element/ssr",
    "leptos-use-watch-with-options/ssr",
]

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

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

[dependencies.cfg-if]
version = "1"

[dependencies.default-struct-builder]
version = "0.5"

[dependencies.js-sys]
version = "0.3"

[dependencies.leptos]
version = "0.8"

[dependencies.leptos-use-element]
version = "0.20.0"

[dependencies.leptos-use-watch-with-options]
version = "0.20.0"

[dependencies.send_wrapper]
version = "0.6"

[dependencies.sendwrap-fn]
version = "0.20.0"

[dependencies.wasm-bindgen]
version = "0.2"

[dependencies.web-sys]
version = "^0.3.104"
features = [
    "Element",
    "EventTarget",
    "IntersectionObserver",
    "IntersectionObserverEntry",
    "IntersectionObserverInit",
    "MediaQueryList",
    "MutationObserver",
    "MutationObserverInit",
    "MutationRecord",
    "Navigator",
    "NodeList",
    "VisibilityState",
]

[dev-dependencies.gloo-timers]
version = "0.4"
features = [
    "futures",
    "futures",
]

[dev-dependencies.web-sys]
version = "^0.3.104"
features = [
    "Document",
    "Element",
    "EventTarget",
    "HtmlElement",
    "IntersectionObserver",
    "IntersectionObserverEntry",
    "IntersectionObserverInit",
    "MediaQueryList",
    "MutationObserver",
    "MutationObserverInit",
    "MutationRecord",
    "Navigator",
    "NodeList",
    "VisibilityState",
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.any_spawner]
version = "0.3"
features = [
    "wasm-bindgen",
    "wasm-bindgen",
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.leptos]
version = "0.8"
features = ["csr"]

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(web_sys_unstable_apis)"]