2023-05-12 20:22:16 +01:00
|
|
|
[package]
|
|
|
|
name = "leptos-use"
|
2023-11-09 23:26:47 +00:00
|
|
|
version = "0.8.2"
|
2023-05-12 20:22:16 +01:00
|
|
|
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"
|
2023-05-13 23:05:08 +01:00
|
|
|
readme = "README.md"
|
2023-05-12 20:22:16 +01:00
|
|
|
repository = "https://github.com/Synphonyte/leptos-use"
|
2023-06-05 00:02:13 +01:00
|
|
|
homepage = "https://leptos-use.rs"
|
2023-05-12 20:22:16 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2023-10-23 20:15:05 -05:00
|
|
|
cfg-if = "1"
|
2023-08-04 15:58:03 +01:00
|
|
|
default-struct-builder = "0.5"
|
2023-10-23 20:15:05 -05:00
|
|
|
futures-util = "0.3"
|
|
|
|
gloo-timers = { version = "0.3.0", features = ["futures"] }
|
|
|
|
js-sys = "0.3"
|
|
|
|
lazy_static = "1"
|
|
|
|
leptos = "0.5"
|
2023-06-21 18:14:43 +02:00
|
|
|
num = { version = "0.4", optional = true }
|
2023-10-23 20:15:05 -05:00
|
|
|
paste = "1"
|
2023-06-21 18:16:16 +02:00
|
|
|
serde = { version = "1", optional = true }
|
|
|
|
serde_json = { version = "1", optional = true }
|
2023-11-08 11:38:07 +00:00
|
|
|
wasm-bindgen = "0.2.87"
|
2023-10-23 23:49:11 -05:00
|
|
|
wasm-bindgen-futures = "0.4"
|
2023-05-28 17:42:16 +01:00
|
|
|
|
2023-05-29 01:52:03 +01:00
|
|
|
[dependencies.web-sys]
|
2023-06-21 18:16:16 +02:00
|
|
|
version = "0.3"
|
2023-05-29 01:52:03 +01:00
|
|
|
features = [
|
2023-10-23 20:15:05 -05:00
|
|
|
"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",
|
2023-10-23 23:49:11 -05:00
|
|
|
"Notification",
|
|
|
|
"NotificationDirection",
|
|
|
|
"NotificationOptions",
|
|
|
|
"NotificationPermission",
|
2023-10-23 20:15:05 -05:00
|
|
|
"PointerEvent",
|
|
|
|
"Position",
|
|
|
|
"PositionError",
|
|
|
|
"PositionOptions",
|
|
|
|
"ResizeObserver",
|
|
|
|
"ResizeObserverBoxOptions",
|
|
|
|
"ResizeObserverEntry",
|
|
|
|
"ResizeObserverOptions",
|
|
|
|
"ResizeObserverSize",
|
|
|
|
"ScrollBehavior",
|
|
|
|
"ScrollToOptions",
|
2023-10-24 00:41:32 -05:00
|
|
|
"ServiceWorker",
|
|
|
|
"ServiceWorkerContainer",
|
|
|
|
"ServiceWorkerRegistration",
|
|
|
|
"ServiceWorkerState",
|
2023-10-23 20:15:05 -05:00
|
|
|
"Storage",
|
|
|
|
"Touch",
|
|
|
|
"TouchEvent",
|
|
|
|
"TouchList",
|
|
|
|
"VisibilityState",
|
|
|
|
"WebSocket",
|
|
|
|
"Window",
|
2023-05-29 01:52:03 +01:00
|
|
|
]
|
|
|
|
|
2023-05-28 17:42:16 +01:00
|
|
|
[features]
|
2023-06-03 05:25:45 +01:00
|
|
|
docs = []
|
2023-06-10 19:15:41 +01:00
|
|
|
math = ["num"]
|
2023-06-23 22:04:16 +01:00
|
|
|
storage = ["serde", "serde_json", "web-sys/StorageEvent"]
|
2023-07-14 22:43:19 +01:00
|
|
|
ssr = []
|
2023-06-03 16:23:58 +01:00
|
|
|
|
2023-06-24 01:12:43 +01:00
|
|
|
[package.metadata.docs.rs]
|
2023-06-03 16:23:58 +01:00
|
|
|
all-features = true
|