2023-05-12 20:22:16 +01:00
|
|
|
[package]
|
|
|
|
name = "leptos-use"
|
2023-07-07 23:34:50 +01:00
|
|
|
version = "0.4.1"
|
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-07-02 20:52:19 +02:00
|
|
|
leptos = "0.4"
|
2023-06-21 18:14:43 +02:00
|
|
|
wasm-bindgen = "0.2"
|
|
|
|
js-sys = "0.3"
|
2023-07-12 20:46:25 +01:00
|
|
|
default-struct-builder = "0.4"
|
2023-06-21 18:14:43 +02:00
|
|
|
num = { version = "0.4", optional = true }
|
2023-06-21 18:16:16 +02:00
|
|
|
serde = { version = "1", optional = true }
|
|
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
paste = "1"
|
|
|
|
lazy_static = "1"
|
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 = [
|
|
|
|
"CssStyleDeclaration",
|
2023-06-09 23:10:33 +01:00
|
|
|
"CustomEvent",
|
|
|
|
"CustomEventInit",
|
2023-06-02 13:38:01 +01:00
|
|
|
"DomRectReadOnly",
|
2023-06-05 00:02:13 +01:00
|
|
|
"Element",
|
2023-06-16 04:51:33 +01:00
|
|
|
"HtmlElement",
|
2023-06-10 13:49:00 +01:00
|
|
|
"HtmlLinkElement",
|
2023-06-23 22:04:16 +01:00
|
|
|
"HtmlStyleElement",
|
2023-06-10 23:59:32 +01:00
|
|
|
"IntersectionObserver",
|
|
|
|
"IntersectionObserverInit",
|
|
|
|
"IntersectionObserverEntry",
|
2023-06-10 03:19:00 +01:00
|
|
|
"MediaQueryList",
|
2023-06-02 13:38:01 +01:00
|
|
|
"MouseEvent",
|
2023-06-13 00:31:38 +01:00
|
|
|
"MutationObserver",
|
|
|
|
"MutationObserverInit",
|
|
|
|
"MutationRecord",
|
2023-06-02 13:38:01 +01:00
|
|
|
"Navigator",
|
2023-06-10 13:49:00 +01:00
|
|
|
"NodeList",
|
2023-05-29 01:52:03 +01:00
|
|
|
"ResizeObserver",
|
|
|
|
"ResizeObserverBoxOptions",
|
|
|
|
"ResizeObserverEntry",
|
2023-06-02 13:38:01 +01:00
|
|
|
"ResizeObserverOptions",
|
|
|
|
"ResizeObserverSize",
|
|
|
|
"ScrollBehavior",
|
|
|
|
"ScrollToOptions",
|
2023-06-23 22:04:16 +01:00
|
|
|
"Storage",
|
2023-06-02 13:38:01 +01:00
|
|
|
"Touch",
|
|
|
|
"TouchEvent",
|
|
|
|
"TouchList",
|
2023-07-07 23:34:50 +01:00
|
|
|
"VisibilityState",
|
2023-06-08 23:52:14 +01:00
|
|
|
"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-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
|
2023-06-05 04:00:07 +01:00
|
|
|
rustdoc-args = ["--cfg=web_sys_unstable_apis"]
|
2023-06-24 01:12:43 +01:00
|
|
|
rustc-args = ["--cfg=web_sys_unstable_apis"]
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-07-02 20:52:19 +02:00
|
|
|
leptos = "0.4"
|