[package] name = "dioxus-router" version = "0.2.3" edition = "2018" description = "Cross-platform router for Dioxus apps" license = "MIT/Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" homepage = "https://dioxuslabs.com" documentation = "https://dioxuslabs.com" keywords = ["dom", "ui", "gui", "react", "wasm"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "1.0.66" async-rwlock = "1.3.0" dioxus = { path="../dioxus" } dioxus-router-core = { path = "../router-core"} futures-channel = "0.3.25" futures-util = "0.3.25" log = "0.4.17" thiserror = "1.0.37" [features] regex = ["dioxus-router-core/regex"] serde = ["dioxus-router-core/serde"] wasm_test = [] web = ["dioxus-router-core/web"] [dev-dependencies] dioxus = { path = "../dioxus" } dioxus-ssr = { path = "../ssr" } [target.'cfg(not(target_family = "wasm"))'.dev-dependencies] dioxus-desktop = { path = "../desktop" } [target.'cfg(target_family = "wasm")'.dev-dependencies] console_error_panic_hook = "0.1.7" dioxus-router = { path = ".", features = ["web"] } dioxus-web = { path= "../web" } gloo = "0.8.0" wasm-bindgen-test = "0.3.33" wasm-logger = "0.2.0"