leptos/router/Cargo.toml

67 lines
1.4 KiB
TOML
Raw Normal View History

2022-08-24 22:59:06 +08:00
[package]
name = "leptos_router"
2024-07-24 21:30:05 +08:00
version = "0.7.0-beta"
2024-03-01 05:38:09 +08:00
authors = ["Greg Johnston", "Ben Wishovich"]
2022-10-07 18:50:21 +08:00
license = "MIT"
2023-04-05 07:53:05 +08:00
readme = "../README.md"
2023-01-10 10:59:13 +08:00
repository = "https://github.com/leptos-rs/leptos"
2022-10-07 18:50:21 +08:00
description = "Router for the Leptos web framework."
2024-02-28 20:19:09 +08:00
rust-version.workspace = true
edition.workspace = true
2022-08-24 22:59:06 +08:00
[dependencies]
leptos = { workspace = true }
leptos_router_macro = { workspace = true }
2024-04-27 23:03:14 +08:00
any_spawner = { workspace = true }
either_of = { workspace = true }
or_poisoned = { workspace = true }
reactive_graph = { workspace = true }
tachys = { workspace = true, features = ["reactive_graph"] }
2024-08-11 08:01:41 +08:00
futures = "0.3.30"
url = "2.5"
js-sys = { version = "0.3.69" }
wasm-bindgen = { version = "0.2.92" }
tracing = { version = "0.1.40", optional = true }
paste = "1.0"
once_cell = "1.19"
send_wrapper = "0.6.0"
thiserror = "1.0"
2024-06-21 19:14:22 +08:00
percent-encoding = { version = "2.3", optional = true }
2024-08-11 08:01:41 +08:00
gloo-net = "0.6.0"
2022-08-24 22:59:06 +08:00
[dependencies.web-sys]
2024-08-11 08:01:41 +08:00
version = "0.3.69"
2022-08-24 22:59:06 +08:00
features = [
2024-08-11 08:01:41 +08: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 22:59:06 +08:00
]
[features]
2024-04-27 23:03:14 +08:00
tracing = ["dep:tracing"]
2024-06-21 19:14:22 +08:00
ssr = ["dep:percent-encoding"]
2024-04-27 23:03:14 +08:00
nightly = []
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]