dioxus/packages/router/Cargo.toml
2021-12-15 15:59:02 -05:00

48 lines
990 B
TOML

[package]
name = "dioxus-router"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus-core = { path = "../core", version = "0.1", default-features = false }
dioxus-html = { path = "../html", version = "0.1", default-features = false }
dioxus-core-macro = { path = "../core-macro", version = "0.1" }
web-sys = { version = "0.3", features = [
"Attr",
"Document",
"History",
"HtmlBaseElement",
"Event",
"NamedNodeMap",
"Url",
"UrlSearchParams",
"Window",
], optional = true }
serde = "1.0.130"
serde_urlencoded = "0.7"
wasm-bindgen = "0.2"
js-sys = "0.3"
gloo = "0.5"
route-recognizer = "0.3.1"
url = "2.2.2"
url_serde = "0.2.0"
[features]
default = ["web", "derive"]
web = ["web-sys"]
desktop = []
mobile = []
derive = []
[dev-dependencies]
console_error_panic_hook = "0.1.7"
dioxus-web = { path = "../web" }
log = "0.4.14"
wasm-logger = "0.2.0"