2022-08-24 14:59:06 +00:00
|
|
|
[package]
|
|
|
|
name = "leptos_router"
|
2023-11-28 23:46:51 +00:00
|
|
|
version = "0.5.4"
|
2022-08-24 14:59:06 +00:00
|
|
|
edition = "2021"
|
2022-10-07 10:50:21 +00:00
|
|
|
authors = ["Greg Johnston"]
|
|
|
|
license = "MIT"
|
2023-04-04 23:53:05 +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 }
|
2023-09-22 17:32:09 +00:00
|
|
|
leptos_integration_utils = { workspace = true, optional = true }
|
|
|
|
leptos_meta = { workspace = true, optional = true }
|
2023-09-08 08:30:13 +00:00
|
|
|
cached = { version = "0.45.0", optional = true }
|
2022-11-03 01:46:47 +00:00
|
|
|
cfg-if = "1"
|
2023-02-20 13:55:47 +00:00
|
|
|
gloo-net = { version = "0.2", features = ["http"] }
|
2022-08-24 14:59:06 +00:00
|
|
|
lazy_static = "1"
|
2023-04-20 00:09:29 +00:00
|
|
|
linear-map = { version = "1", features = ["serde_impl"] }
|
2023-07-08 12:47:52 +00:00
|
|
|
once_cell = "1.18"
|
2022-08-24 14:59:06 +00:00
|
|
|
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"
|
2023-05-03 19:26:48 +00:00
|
|
|
serde_qs = "0.12"
|
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" }
|
2023-09-08 08:30:13 +00:00
|
|
|
lru = { version = "0.11", optional = true }
|
2023-05-09 10:40:22 +00:00
|
|
|
serde_json = "1.0.96"
|
2023-10-14 12:37:31 +00:00
|
|
|
itertools = "0.11.0"
|
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"]
|
2023-09-22 17:32:09 +00:00
|
|
|
ssr = [
|
|
|
|
"leptos/ssr",
|
|
|
|
"dep:cached",
|
|
|
|
"dep:lru",
|
|
|
|
"dep:url",
|
|
|
|
"dep:regex",
|
|
|
|
"dep:leptos_integration_utils",
|
|
|
|
"dep:leptos_meta",
|
|
|
|
]
|
2023-06-27 01:12:14 +00:00
|
|
|
nightly = ["leptos/nightly"]
|
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
|
2023-06-27 01:12:14 +00:00
|
|
|
denylist = ["url", "regex", "nightly"]
|
2023-01-07 12:43:52 +00:00
|
|
|
skip_feature_sets = [["csr", "ssr"], ["csr", "hydrate"], ["ssr", "hydrate"]]
|