[dependencies.cached]
optional = true
version = "0.45.0"
[dependencies.cfg-if]
version = "1"
[dependencies.gloo-net]
features = ["http"]
version = "0.6"
[dependencies.itertools]
version = "0.12.0"
[dependencies.js-sys]
version = "0.3"
[dependencies.lazy_static]
version = "1"
[dependencies.leptos]
version = "0.6.15"
[dependencies.leptos_integration_utils]
optional = true
version = "0.6.15"
[dependencies.leptos_meta]
optional = true
version = "0.6.15"
[dependencies.linear-map]
features = ["serde_impl"]
version = "1"
[dependencies.lru]
optional = true
version = "0.11"
[dependencies.once_cell]
version = "1.18"
[dependencies.percent-encoding]
version = "2"
[dependencies.regex]
optional = true
version = "1"
[dependencies.send_wrapper]
version = "0.6.0"
[dependencies.serde]
version = "1"
[dependencies.serde_json]
version = "1.0.96"
[dependencies.serde_qs]
version = "0.13"
[dependencies.thiserror]
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
optional = true
version = "2"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.wasm-bindgen-futures]
version = "0.4"
[dependencies.web-sys]
features = ["History", "HtmlAnchorElement", "MouseEvent", "Url", "FormData", "HtmlButtonElement", "HtmlFormElement", "HtmlInputElement", "SubmitEvent", "Url", "UrlSearchParams", "Headers", "Request", "RequestInit", "RequestMode", "Response", "Window"]
version = "0.3"
[features]
csr = ["leptos/csr"]
default = []
hydrate = ["leptos/hydrate"]
nightly = ["leptos/nightly"]
ssr = ["leptos/ssr", "dep:cached", "dep:lru", "dep:url", "dep:regex", "dep:leptos_integration_utils", "dep:leptos_meta"]
[lib]
name = "leptos_router"
path = "src/lib.rs"
[package]
authors = ["Greg Johnston", "Ben Wishovich"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Router for the Leptos web framework."
edition = "2021"
license = "MIT"
name = "leptos_router"
readme = "README.md"
repository = "https://github.com/leptos-rs/leptos"
rust-version = "1.75"
version = "0.6.15"
[package.metadata.cargo-all-features]
denylist = ["url", "regex", "nightly"]
skip_feature_sets = [["csr", "ssr"], ["csr", "hydrate"], ["ssr", "hydrate"]]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
[[test]]
name = "expand_optionals"
path = "tests/expand_optionals.rs"
[[test]]
name = "join_paths"
path = "tests/join_paths.rs"
[[test]]
name = "matcher"
path = "tests/matcher.rs"
[[test]]
name = "query_params"
path = "tests/query_params.rs"
[[test]]
name = "resolve_path"
path = "tests/resolve_path.rs"
[[test]]
name = "trailing_slashes"
path = "tests/trailing_slashes.rs"