leptos-use/Cargo.toml

115 lines
2.7 KiB
TOML
Raw Normal View History

2023-05-12 20:22:16 +01:00
[package]
authors = ["Marc-Stefan Cassola"]
categories = ["gui", "web-programming"]
description = "Collection of essential Leptos utilities inspired by SolidJS USE / VueUse"
2024-01-21 17:33:53 +05:30
edition = "2021"
2023-05-12 20:22:16 +01:00
exclude = ["examples/", "tests/"]
2024-01-21 17:33:53 +05:30
homepage = "https://leptos-use.rs"
2023-05-12 20:22:16 +01:00
keywords = ["leptos", "utilities"]
license = "MIT OR Apache-2.0"
2024-01-21 17:33:53 +05:30
name = "leptos-use"
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"
2024-01-21 17:33:53 +05:30
version = "0.9.0"
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"
2024-01-21 17:33:53 +05:30
cookie = { version = "0.18", features = ["percent-encode"] }
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"] }
2024-01-21 17:33:53 +05:30
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]
features = [
2024-01-21 17:33:53 +05:30
"AddEventListenerOptions",
"BinaryType",
"Coordinates",
"CloseEvent",
"CssStyleDeclaration",
"CustomEvent",
"CustomEventInit",
"DisplayMediaStreamConstraints",
"DomRect",
"DomRectReadOnly",
"DataTransfer",
"DragEvent",
"Element",
"EventListener",
"EventListenerOptions",
"EventTarget",
"File",
"FileList",
"Geolocation",
"HtmlDocument",
"HtmlElement",
"HtmlLinkElement",
"HtmlStyleElement",
"IntersectionObserver",
"IntersectionObserverInit",
"IntersectionObserverEntry",
"MediaDevices",
"MediaQueryList",
"MediaStream",
"MediaStreamTrack",
"MouseEvent",
"MutationObserver",
"MutationObserverInit",
"MutationRecord",
"Navigator",
"NodeList",
"Notification",
"NotificationDirection",
"NotificationOptions",
"NotificationPermission",
"PointerEvent",
"Position",
"PositionError",
"PositionOptions",
"ResizeObserver",
"ResizeObserverBoxOptions",
"ResizeObserverEntry",
"ResizeObserverOptions",
"ResizeObserverSize",
"ScrollBehavior",
"ScrollToOptions",
"ServiceWorker",
"ServiceWorkerContainer",
"ServiceWorkerRegistration",
"ServiceWorkerState",
"Storage",
"StorageEvent",
"Touch",
"TouchEvent",
"TouchList",
"VisibilityState",
"WebSocket",
"Window",
2023-05-29 01:52:03 +01:00
]
2024-01-21 17:33:53 +05:30
version = "0.3"
2023-05-29 01:52:03 +01:00
[features]
2024-01-21 17:33:53 +05:30
actix = ["actix-web/cookies"]
axum = ["axum-extra/cookie", "leptos_axum"]
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 = []
2024-01-21 17:33:53 +05:30
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