Get cargo check --all working
This commit is contained in:
34 files changed
+80
-122
No files matched your search
@@ -2,7 +2,7 @@
|
||||
name = "dioxus-web"
|
||||
version = { workspace = true }
|
||||
authors = ["Jonathan Kelley"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "Web renderer for Dioxus using websys"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/DioxusLabs/dioxus/"
|
||||
@@ -14,7 +14,7 @@ dioxus-core = { workspace = true, features = ["serialize"] }
|
||||
dioxus-html = { workspace = true, features = ["wasm-bind"] }
|
||||
dioxus-interpreter-js = { workspace = true, features = [
|
||||
"minimal_bindings",
|
||||
"web",
|
||||
"webonly",
|
||||
] }
|
||||
|
||||
js-sys = "0.3.56"
|
||||
|
||||
@@ -9,7 +9,7 @@ use std::any::Any;
|
||||
/// For a builder API, see `LaunchBuilder` defined in the `dioxus` crate.
|
||||
pub fn launch(
|
||||
root: fn() -> Element,
|
||||
contexts: Vec<Box<dyn Fn() -> Box<dyn Any>>>,
|
||||
contexts: Vec<Box<dyn Fn() -> Box<dyn Any> + Send + Sync>>,
|
||||
platform_config: Config,
|
||||
) {
|
||||
let mut vdom = VirtualDom::new(root);
|
||||
|
||||
Reference in new issue
Block a user