2021-11-03 04:35:56 +00:00
|
|
|
[package]
|
|
|
|
name = "dioxus-router"
|
2021-12-15 20:58:20 +00:00
|
|
|
version = "0.1.0"
|
2021-11-03 04:35:56 +00:00
|
|
|
edition = "2018"
|
2021-12-15 21:04:27 +00:00
|
|
|
description = "Dioxus VirtualDOM renderer for the web browser using websys"
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
|
|
homepage = "https://dioxuslabs.com"
|
|
|
|
documentation = "https://dioxuslabs.com"
|
2021-12-15 21:06:13 +00:00
|
|
|
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-01-04 00:32:27 +00:00
|
|
|
dioxus-core = { path = "../core", version = "^0.1.6", default-features = false }
|
2021-12-18 20:17:32 +00:00
|
|
|
dioxus-html = { path = "../html", version = "^0.1.0", default-features = false }
|
|
|
|
dioxus-core-macro = { path = "../core-macro", version = "^0.1.2" }
|
2021-11-03 04:35:56 +00:00
|
|
|
|
2021-12-29 05:56:53 +00:00
|
|
|
serde = "1"
|
2021-12-19 04:03:59 +00:00
|
|
|
url = "2.2.2"
|
|
|
|
serde_urlencoded = "0.7"
|
|
|
|
|
2022-01-05 05:27:22 +00:00
|
|
|
# for wasm
|
2021-11-03 04:35:56 +00:00
|
|
|
web-sys = { version = "0.3", features = [
|
|
|
|
"Attr",
|
|
|
|
"Document",
|
|
|
|
"History",
|
|
|
|
"HtmlBaseElement",
|
|
|
|
"Event",
|
|
|
|
"NamedNodeMap",
|
|
|
|
"Url",
|
|
|
|
"UrlSearchParams",
|
|
|
|
"Window",
|
|
|
|
], optional = true }
|
2021-12-19 04:03:59 +00:00
|
|
|
wasm-bindgen = { version = "0.2", optional = true }
|
|
|
|
js-sys = { version = "0.3", optional = true }
|
2021-12-29 05:56:53 +00:00
|
|
|
gloo = { version = "0.5", optional = true }
|
2022-01-05 05:27:22 +00:00
|
|
|
log = "0.4.14"
|
2021-11-03 04:35:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
[features]
|
2022-01-05 05:27:22 +00:00
|
|
|
default = ["derive", "web"]
|
|
|
|
web = ["web-sys", "gloo", "js-sys", "wasm-bindgen"]
|
2021-11-03 04:35:56 +00:00
|
|
|
desktop = []
|
|
|
|
mobile = []
|
2021-11-29 16:10:40 +00:00
|
|
|
derive = []
|
2021-11-19 05:49:04 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
dioxus-web = { path = "../web" }
|
|
|
|
log = "0.4.14"
|
|
|
|
wasm-logger = "0.2.0"
|