[package] name = "leptos_router" version = "0.7.0-rc1" 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.31" url = "2.5" js-sys = { version = "0.3.72" } wasm-bindgen = { version = "0.2.95" } tracing = { version = "0.1.40", optional = true } once_cell = "1.20" send_wrapper = "0.6.0" thiserror = "2.0" percent-encoding = { version = "2.3", optional = true } gloo-net = "0.6.0" [dependencies.web-sys] version = "0.3.72" 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"]