2022-08-24 14:59:06 +00:00
|
|
|
[package]
|
|
|
|
name = "leptos_router"
|
2022-10-14 21:29:22 +00:00
|
|
|
version = "0.0.1"
|
2022-08-24 14:59:06 +00:00
|
|
|
edition = "2021"
|
2022-10-07 10:50:21 +00:00
|
|
|
authors = ["Greg Johnston"]
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/gbj/leptos"
|
|
|
|
description = "Router for the Leptos web framework."
|
2022-08-24 14:59:06 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-10-18 14:42:55 +00:00
|
|
|
leptos = { path = "../leptos", version = "0.0", default-features = false }
|
2022-11-03 01:46:47 +00:00
|
|
|
cfg-if = "1"
|
2022-08-24 14:59:06 +00:00
|
|
|
common_macros = "0.1"
|
2022-10-31 00:37:50 +00:00
|
|
|
gloo-net = "0.2"
|
2022-08-24 14:59:06 +00:00
|
|
|
itertools = "0.10"
|
|
|
|
lazy_static = "1"
|
|
|
|
linear-map = "1"
|
|
|
|
log = "0.4"
|
|
|
|
regex = { version = "1", optional = true }
|
2022-09-26 02:11:32 +00:00
|
|
|
bincode = "1"
|
2022-08-24 14:59:06 +00:00
|
|
|
url = { version = "2", optional = true }
|
|
|
|
urlencoding = "2"
|
|
|
|
thiserror = "1"
|
|
|
|
typed-builder = "0.10"
|
2022-11-03 01:46:47 +00:00
|
|
|
js-sys = { version = "0.3" }
|
|
|
|
wasm-bindgen = { version = "0.2" }
|
|
|
|
wasm-bindgen-futures = { version = "0.4" }
|
2022-08-24 14:59:06 +00:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "0.3"
|
|
|
|
features = [
|
2022-09-14 14:14:47 +00:00
|
|
|
# History/Routing
|
2022-08-24 14:59:06 +00:00
|
|
|
"History",
|
|
|
|
"HtmlAnchorElement",
|
|
|
|
"MouseEvent",
|
2022-09-14 14:14:47 +00:00
|
|
|
"Url",
|
|
|
|
# Form
|
|
|
|
"FormData",
|
|
|
|
"HtmlButtonElement",
|
|
|
|
"HtmlFormElement",
|
|
|
|
"HtmlInputElement",
|
|
|
|
"SubmitEvent",
|
|
|
|
"Url",
|
2022-09-26 02:11:32 +00:00
|
|
|
"UrlSearchParams",
|
|
|
|
# Fetching in Hydrate Mode
|
|
|
|
"Headers",
|
|
|
|
"Request",
|
|
|
|
"RequestInit",
|
|
|
|
"RequestMode",
|
|
|
|
"Response",
|
|
|
|
"Window",
|
2022-08-24 14:59:06 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[features]
|
2022-11-03 01:46:47 +00:00
|
|
|
default = []
|
|
|
|
csr = ["leptos/csr"]
|
|
|
|
hydrate = ["leptos/hydrate"]
|
2022-10-07 20:05:28 +00:00
|
|
|
ssr = ["leptos/ssr", "dep:url", "dep:regex"]
|