2022-08-24 14:59:06 +00:00
|
|
|
[package]
|
|
|
|
name = "leptos_router"
|
2024-04-29 00:52:59 +00:00
|
|
|
version = "0.7.0-preview2"
|
2022-08-24 14:59:06 +00:00
|
|
|
edition = "2021"
|
2024-02-29 21:38:09 +00:00
|
|
|
authors = ["Greg Johnston", "Ben Wishovich"]
|
2022-10-07 10:50:21 +00:00
|
|
|
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."
|
2024-02-28 12:19:09 +00:00
|
|
|
rust-version.workspace = true
|
2022-08-24 14:59:06 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-01-11 17:09:10 +00:00
|
|
|
leptos = { workspace = true }
|
2024-04-27 15:03:14 +00:00
|
|
|
any_spawner = { workspace = true }
|
|
|
|
either_of = { workspace = true }
|
|
|
|
or_poisoned = { workspace = true }
|
|
|
|
reactive_graph = { workspace = true }
|
|
|
|
tachys = { workspace = true, features = ["reactive_graph"] }
|
|
|
|
url = "2"
|
2022-11-03 01:46:47 +00:00
|
|
|
js-sys = { version = "0.3" }
|
|
|
|
wasm-bindgen = { version = "0.2" }
|
2024-04-27 15:03:14 +00:00
|
|
|
tracing = { version = "0.1", optional = true }
|
|
|
|
paste = "1"
|
|
|
|
once_cell = "1"
|
|
|
|
send_wrapper = "0.6"
|
|
|
|
thiserror = "1"
|
2022-08-24 14:59:06 +00:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "0.3"
|
|
|
|
features = [
|
2024-04-27 15:03:14 +00:00
|
|
|
"Document",
|
|
|
|
"Window",
|
|
|
|
"console",
|
|
|
|
# History/Routing
|
|
|
|
"History",
|
|
|
|
"HtmlAnchorElement",
|
|
|
|
"Location",
|
|
|
|
"MouseEvent",
|
|
|
|
"Url",
|
|
|
|
# Form
|
|
|
|
"FormData",
|
|
|
|
"HtmlButtonElement",
|
|
|
|
"HtmlFormElement",
|
|
|
|
"HtmlInputElement",
|
|
|
|
"SubmitEvent",
|
|
|
|
"Url",
|
|
|
|
"UrlSearchParams",
|
|
|
|
# Fetching in Hydrate Mode
|
|
|
|
"Headers",
|
|
|
|
"Request",
|
|
|
|
"RequestInit",
|
|
|
|
"RequestMode",
|
|
|
|
"Response",
|
2022-08-24 14:59:06 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[features]
|
2024-04-27 15:03:14 +00:00
|
|
|
tracing = ["dep:tracing"]
|
|
|
|
ssr = []
|
|
|
|
nightly = []
|
2024-07-03 10:46:02 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
rustdoc-args = ["--generate-link-to-definition"]
|