leptos-use/Cargo.toml

60 lines
1.5 KiB
TOML
Raw Normal View History

2023-05-12 20:22:16 +01:00
[package]
name = "leptos-use"
2023-06-10 19:16:12 +01:00
version = "0.2.0"
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-05-28 17:58:35 +01:00
leptos = "0.3.0"
wasm-bindgen = "0.2.86"
js-sys = "0.3.63"
2023-06-09 23:10:33 +01:00
default-struct-builder = { path = "../default-struct-builder" }
2023-06-03 05:25:45 +01:00
num = { version = "0.4.0", optional = true }
2023-06-09 23:10:33 +01:00
serde = { version = "1.0.163", optional = true }
serde_json = { version = "1.0.96", optional = true }
2023-06-10 19:15:41 +01:00
paste = "1.0.12"
2023-05-29 01:52:03 +01:00
[dependencies.web-sys]
version = "0.3.63"
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-10 13:49:00 +01:00
"HtmlLinkElement",
2023-06-10 03:19:00 +01:00
"MediaQueryList",
2023-06-02 13:38:01 +01:00
"MouseEvent",
"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",
"Touch",
"TouchEvent",
"TouchList",
"Window",
2023-05-29 01:52:03 +01:00
]
[features]
2023-06-03 05:25:45 +01:00
docs = []
2023-06-10 19:15:41 +01:00
math = ["num"]
2023-06-09 23:10:33 +01:00
storage = ["serde", "serde_json", "web-sys/Storage", "web-sys/StorageEvent"]
2023-06-03 16:23:58 +01:00
[package.metadata."docs.rs"]
all-features = true
rustdoc-args = ["--cfg=web_sys_unstable_apis"]
rustc-args = ["--cfg=web_sys_unstable_apis"]