mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
70 lines
1.6 KiB
TOML
70 lines
1.6 KiB
TOML
[package]
|
|
name = "leptos_router"
|
|
version = "0.7.0-beta5"
|
|
authors = ["Greg Johnston", "Ben Wishovich"]
|
|
license = "MIT"
|
|
readme = "../README.md"
|
|
repository = "https://github.com/leptos-rs/leptos"
|
|
description = "Router for the Leptos web framework."
|
|
rust-version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
leptos = { workspace = true }
|
|
leptos_router_macro = { workspace = true }
|
|
any_spawner = { workspace = true }
|
|
either_of = { workspace = true }
|
|
or_poisoned = { workspace = true }
|
|
reactive_graph = { workspace = true }
|
|
tachys = { workspace = true, features = ["reactive_graph"] }
|
|
futures = "0.3.30"
|
|
url = "2.5"
|
|
js-sys = { version = "0.3.69" }
|
|
wasm-bindgen = { version = "0.2.93" }
|
|
tracing = { version = "0.1.40", optional = true }
|
|
paste = "1.0"
|
|
once_cell = "1.19"
|
|
send_wrapper = "0.6.0"
|
|
thiserror = "1.0"
|
|
percent-encoding = { version = "2.3", optional = true }
|
|
gloo-net = "0.6.0"
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3.70"
|
|
features = [
|
|
"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",
|
|
]
|
|
|
|
[features]
|
|
tracing = ["dep:tracing"]
|
|
ssr = ["dep:percent-encoding"]
|
|
nightly = []
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--generate-link-to-definition"]
|
|
|
|
[package.metadata.cargo-all-features]
|
|
denylist = ["tracing"]
|