dioxus/packages/router/Cargo.toml

45 lines
1.4 KiB
TOML
Raw Normal View History

2021-11-03 04:35:56 +00:00
[package]
2022-02-01 20:13:18 +00:00
name = "dioxus-router"
version = "0.3.0"
2022-02-01 19:40:29 +00:00
edition = "2018"
description = "Cross-platform router for Dioxus apps"
2022-02-01 19:40:29 +00:00
license = "MIT/Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"
2022-02-01 20:13:18 +00:00
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
keywords = ["dom", "ui", "gui", "react", "wasm"]
2021-11-03 04:35:56 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2022-12-09 00:42:30 +00:00
anyhow = "1.0.66"
2022-12-06 09:11:22 +00:00
dioxus = { path="../dioxus" }
dioxus-router-macro = { path="../router-macro" }
2023-05-23 16:22:57 +00:00
gloo = { version = "0.8.0", optional = true }
2022-12-06 11:02:51 +00:00
log = "0.4.17"
serde = { version = "1.0.163", features = ["derive"] }
thiserror = "1.0.37"
url = "2.3.1"
2023-05-23 16:22:57 +00:00
wasm-bindgen = { version = "0.2.86", optional = true }
web-sys = { version = "0.3.60", optional = true, features = ["ScrollRestoration"] }
gloo-utils = { version = "0.1.6", optional = true, features = ["serde"] }
2021-12-19 04:03:59 +00:00
2021-11-03 04:35:56 +00:00
[features]
2023-05-23 16:22:57 +00:00
default = ["web"]
2022-12-16 11:33:46 +00:00
wasm_test = []
2023-05-23 16:22:57 +00:00
web = ["gloo", "web-sys", "wasm-bindgen", "gloo-utils"]
2022-12-09 00:15:04 +00:00
[dev-dependencies]
dioxus = { path = "../dioxus" }
2022-12-13 09:46:30 +00:00
dioxus-ssr = { path = "../ssr" }
2022-12-15 13:46:40 +00:00
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
dioxus-desktop = { path = "../desktop" }
[target.'cfg(target_family = "wasm")'.dev-dependencies]
2022-12-16 11:55:50 +00:00
console_error_panic_hook = "0.1.7"
2022-12-15 13:46:40 +00:00
dioxus-router = { path = ".", features = ["web"] }
dioxus-web = { path= "../web" }
2022-12-16 11:33:46 +00:00
gloo = "0.8.0"
wasm-bindgen-test = "0.3.33"
2022-12-16 11:55:50 +00:00
wasm-logger = "0.2.0"