leptos-use/Cargo.toml

110 lines
2.4 KiB
TOML
Raw Permalink Normal View History

2023-05-12 20:22:16 +01:00
[package]
name = "leptos-use"
2023-12-06 00:23:58 +00:00
version = "0.9.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]
base64 = { version = "0.21", optional = true }
2023-10-23 20:15:05 -05:00
cfg-if = "1"
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"] }
2023-11-24 15:06:35 -05:00
gloo-utils = { version = "0.2.0"}
2023-10-23 20:15:05 -05:00
js-sys = "0.3"
lazy_static = "1"
leptos = "0.5"
num = { version = "0.4", optional = true }
2023-10-23 20:15:05 -05:00
paste = "1"
2023-10-29 12:23:33 +00:00
prost = { version = "0.12", optional = true }
2023-06-21 18:16:16 +02:00
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
2023-10-26 11:44:59 +01:00
thiserror = "1.0"
wasm-bindgen = "0.2.88"
2023-10-23 23:49:11 -05:00
wasm-bindgen-futures = "0.4"
2023-05-29 01:52:03 +01:00
[dependencies.web-sys]
version = "0.3.65"
2023-05-29 01:52:03 +01:00
features = [
2023-10-23 20:15:05 -05:00
"AddEventListenerOptions",
"BinaryType",
"Coordinates",
"CloseEvent",
"CssStyleDeclaration",
"CustomEvent",
"CustomEventInit",
2023-11-24 15:06:35 -05:00
"DisplayMediaStreamConstraints",
2023-10-23 20:15:05 -05:00
"DomRect",
"DomRectReadOnly",
"DataTransfer",
"DragEvent",
"Element",
"EventListener",
"EventListenerOptions",
"EventTarget",
"File",
"FileList",
"Geolocation",
"HtmlElement",
"HtmlLinkElement",
"HtmlStyleElement",
"IntersectionObserver",
"IntersectionObserverInit",
"IntersectionObserverEntry",
2023-11-24 15:06:35 -05:00
"MediaDevices",
2023-10-23 20:15:05 -05:00
"MediaQueryList",
2023-11-24 15:06:35 -05:00
"MediaStream",
"MediaStreamTrack",
2023-10-23 20:15:05 -05:00
"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",
"ServiceWorker",
"ServiceWorkerContainer",
"ServiceWorkerRegistration",
"ServiceWorkerState",
2023-10-23 20:15:05 -05:00
"Storage",
2023-10-27 14:27:53 +01:00
"StorageEvent",
2023-10-23 20:15:05 -05:00
"Touch",
"TouchEvent",
"TouchList",
"VisibilityState",
"WebSocket",
"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"]
prost = ["base64", "dep:prost"]
serde = ["dep:serde", "serde_json"]
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