2022-08-24 14:59:06 +00:00
|
|
|
[package]
|
|
|
|
name = "leptos_router"
|
2023-01-28 17:12:09 +00:00
|
|
|
version = "0.1.3"
|
2022-08-24 14:59:06 +00:00
|
|
|
edition = "2021"
|
2022-10-07 10:50:21 +00:00
|
|
|
authors = ["Greg Johnston"]
|
|
|
|
license = "MIT"
|
2023-01-17 17:05:09 +00:00
|
|
|
README = "../README.md"
|
2023-01-10 02:59:13 +00:00
|
|
|
repository = "https://github.com/leptos-rs/leptos"
|
2022-10-07 10:50:21 +00:00
|
|
|
description = "Router for the Leptos web framework."
|
2022-08-24 14:59:06 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-01-11 17:09:10 +00:00
|
|
|
leptos = { workspace = true }
|
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
|
|
|
lazy_static = "1"
|
|
|
|
linear-map = "1"
|
|
|
|
log = "0.4"
|
|
|
|
regex = { version = "1", optional = true }
|
|
|
|
url = { version = "2", optional = true }
|
2023-01-26 01:15:00 +00:00
|
|
|
percent-encoding = "2"
|
2022-08-24 14:59:06 +00:00
|
|
|
thiserror = "1"
|
2022-11-17 01:16:21 +00:00
|
|
|
serde_urlencoded = "0.7"
|
2022-11-18 18:25:46 +00:00
|
|
|
serde = "1"
|
2023-02-04 15:02:17 +00:00
|
|
|
tracing = "0.1"
|
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 = [
|
2023-02-02 22:00:12 +00:00
|
|
|
# History/Routing
|
|
|
|
"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]
|
2023-01-07 19:43:32 +00:00
|
|
|
default = []
|
2022-11-03 01:46:47 +00:00
|
|
|
csr = ["leptos/csr"]
|
|
|
|
hydrate = ["leptos/hydrate"]
|
2022-10-07 20:05:28 +00:00
|
|
|
ssr = ["leptos/ssr", "dep:url", "dep:regex"]
|
2022-12-29 23:10:14 +00:00
|
|
|
stable = ["leptos/stable"]
|
2022-11-03 02:25:19 +00:00
|
|
|
|
|
|
|
[package.metadata.cargo-all-features]
|
|
|
|
# No need to test optional dependencies as they are enabled by the ssr feature
|
2022-12-29 23:10:14 +00:00
|
|
|
denylist = ["url", "regex", "stable"]
|
2023-01-07 12:43:52 +00:00
|
|
|
skip_feature_sets = [["csr", "ssr"], ["csr", "hydrate"], ["ssr", "hydrate"]]
|