mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
96 lines
2.1 KiB
TOML
96 lines
2.1 KiB
TOML
[package]
|
|
name = "leptos-use"
|
|
version = "0.7.1"
|
|
edition = "2021"
|
|
authors = ["Marc-Stefan Cassola"]
|
|
categories = ["gui", "web-programming"]
|
|
description = "Collection of essential Leptos utilities inspired by SolidJS USE / VueUse"
|
|
exclude = ["examples/", "tests/"]
|
|
keywords = ["leptos", "utilities"]
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/Synphonyte/leptos-use"
|
|
homepage = "https://leptos-use.rs"
|
|
|
|
[dependencies]
|
|
cfg-if = "1"
|
|
default-struct-builder = "0.5"
|
|
js-sys = "0.3"
|
|
lazy_static = "1"
|
|
leptos = "0.5"
|
|
num = { version = "0.4", optional = true }
|
|
paste = "1"
|
|
serde = { version = "1", optional = true }
|
|
serde_json = { version = "1", optional = true }
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3"
|
|
features = [
|
|
"AddEventListenerOptions",
|
|
"BinaryType",
|
|
"Coordinates",
|
|
"CloseEvent",
|
|
"CssStyleDeclaration",
|
|
"CustomEvent",
|
|
"CustomEventInit",
|
|
"DomRect",
|
|
"DomRectReadOnly",
|
|
"DataTransfer",
|
|
"DragEvent",
|
|
"Element",
|
|
"EventListener",
|
|
"EventListenerOptions",
|
|
"EventTarget",
|
|
"File",
|
|
"FileList",
|
|
"Geolocation",
|
|
"HtmlElement",
|
|
"HtmlLinkElement",
|
|
"HtmlStyleElement",
|
|
"IntersectionObserver",
|
|
"IntersectionObserverInit",
|
|
"IntersectionObserverEntry",
|
|
"MediaQueryList",
|
|
"MouseEvent",
|
|
"MutationObserver",
|
|
"MutationObserverInit",
|
|
"MutationRecord",
|
|
"Navigator",
|
|
"NodeList",
|
|
"PointerEvent",
|
|
"Position",
|
|
"PositionError",
|
|
"PositionOptions",
|
|
"ResizeObserver",
|
|
"ResizeObserverBoxOptions",
|
|
"ResizeObserverEntry",
|
|
"ResizeObserverOptions",
|
|
"ResizeObserverSize",
|
|
"ScrollBehavior",
|
|
"ScrollToOptions",
|
|
"ServiceWorker",
|
|
"ServiceWorkerContainer",
|
|
"ServiceWorkerRegistration",
|
|
"ServiceWorkerState",
|
|
"Storage",
|
|
"Touch",
|
|
"TouchEvent",
|
|
"TouchList",
|
|
"VisibilityState",
|
|
"WebSocket",
|
|
"Window",
|
|
]
|
|
|
|
[features]
|
|
docs = []
|
|
math = ["num"]
|
|
storage = ["serde", "serde_json", "web-sys/StorageEvent"]
|
|
ssr = []
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg=web_sys_unstable_apis"]
|
|
rustc-args = ["--cfg=web_sys_unstable_apis"]
|
|
|