fix: enable wasmtest feature

This commit is contained in:
Jonathan Kelley 2022-03-02 23:45:36 -05:00
parent 9edc3459d5
commit 57bd8b7ce2

View file

@ -15,7 +15,7 @@ dioxus-core = { path = "../core", version = "^0.1.9", default-features = false }
dioxus-html = { path = "../html", version = "^0.1.6", default-features = false }
dioxus-core-macro = { path = "../core-macro", version = "^0.1.7" }
futures-channel = "0.3.21"
url = { version ="2.2.2", default-features = false }
url = { version = "2.2.2", default-features = false }
# for wasm
web-sys = { version = "0.3", features = [
@ -36,12 +36,13 @@ log = "0.4.14"
thiserror = "1.0.30"
futures-util = "0.3.21"
serde = { version = "1", optional = true }
serde_urlencoded = {version = "0.7.1", optional = true}
serde_urlencoded = { version = "0.7.1", optional = true }
[features]
default = ["query"]
web = ["web-sys", "gloo-events", "js-sys", "wasm-bindgen"]
query = ["serde", "serde_urlencoded"]
wasm_test = []
[dev-dependencies]
console_error_panic_hook = "0.1.7"
@ -50,16 +51,13 @@ log = "0.4.14"
wasm-logger = "0.2.0"
wasm-bindgen-test = "0.3"
gloo-utils = "0.1.2"
dioxus-ssr = { path = "../ssr"}
dioxus-ssr = { path = "../ssr" }
dioxus-router = { path = ".", default-features = false }
[target.wasm32-unknown-unknown.dev-dependencies]
dioxus-router = { path = ".", features = ["web"] }
[dev-dependencies.web-sys]
version = "0.3"
features = ["Document"]