leptos/router/Cargo.toml

59 lines
1.1 KiB
TOML
Raw Normal View History

2022-08-24 14:59:06 +00:00
[package]
name = "leptos_router"
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]
leptos = { path = "../leptos", version = "0.0", default-features = false }
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 }
bincode = "1"
2022-08-24 14:59:06 +00:00
url = { version = "2", optional = true }
urlencoding = "2"
thiserror = "1"
typed-builder = "0.10"
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 = [
# History/Routing
2022-08-24 14:59:06 +00:00
"History",
"HtmlAnchorElement",
"MouseEvent",
"Url",
# Form
"FormData",
"HtmlButtonElement",
"HtmlFormElement",
"HtmlInputElement",
"SubmitEvent",
"Url",
"UrlSearchParams",
# Fetching in Hydrate Mode
"Headers",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Window",
2022-08-24 14:59:06 +00:00
]
[features]
default = []
csr = ["leptos/csr"]
hydrate = ["leptos/hydrate"]
2022-10-07 20:05:28 +00:00
ssr = ["leptos/ssr", "dep:url", "dep:regex"]