leptos/router/Cargo.toml

71 lines
1.6 KiB
TOML
Raw Normal View History

2022-08-24 14:59:06 +00:00
[package]
name = "leptos_router"
2024-09-08 23:40:32 +00:00
version = "0.7.0-beta5"
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
edition.workspace = true
2022-08-24 14:59:06 +00:00
[dependencies]
leptos = { workspace = true }
leptos_router_macro = { 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"] }
2024-08-11 00:01:41 +00:00
futures = "0.3.30"
url = "2.5"
js-sys = { version = "0.3.69" }
wasm-bindgen = { version = "0.2.93" }
2024-08-11 00:01:41 +00:00
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 11:14:22 +00:00
percent-encoding = { version = "2.3", optional = true }
2024-08-11 00:01:41 +00:00
gloo-net = "0.6.0"
serde = { version = "1", features = ["derive"] }
2022-08-24 14:59:06 +00:00
[dependencies.web-sys]
version = "0.3.70"
2022-08-24 14:59:06 +00:00
features = [
2024-08-11 00:01:41 +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"]
2024-06-21 11:14:22 +00:00
ssr = ["dep:percent-encoding"]
2024-04-27 15:03:14 +00:00
nightly = []
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.cargo-all-features]
denylist = ["tracing"]