finish cleanup

This commit is contained in:
Evan Almloff 2022-06-25 08:48:03 -05:00
parent ef4ece42b3
commit 6c20d74797
3 changed files with 4 additions and 9 deletions

View file

@ -49,7 +49,7 @@ desktop = ["dioxus-desktop"]
router = ["dioxus-router"]
tui = ["dioxus-tui"]
liveview = ["dioxus-liveview"]
hot_reload = ["dioxus-core-macro/hot_reload", "dioxus-rsx-interpreter", "dioxus-desktop?/hot_reload", "dioxus-web?/hot_reload"]
hot_reload = ["dioxus-core-macro/hot_reload", "dioxus-rsx-interpreter", "dioxus-desktop?/hot_reload", "dioxus-web?/hot_reload", "dioxus-router?/hot_reload"]
native-core = ["dioxus-native-core", "dioxus-native-core-macro"]
[workspace]
@ -85,7 +85,7 @@ serde_json = "1.0.79"
rand = { version = "0.8.4", features = ["small_rng"] }
tokio = { version = "1.16.1", features = ["full"] }
reqwest = { version = "0.11.9", features = ["json"] }
dioxus = { path = ".", features = ["desktop", "ssr", "router", "fermi", "tui"] }
dioxus = { path = ".", features = ["desktop", "ssr", "router", "fermi", "tui", "hot_reload"] }
fern = { version = "0.6.0", features = ["colored"] }
criterion = "0.3.5"
thiserror = "1.0.30"

View file

@ -13,10 +13,7 @@
//! These numbers don't represent Dioxus with the heuristic engine installed, so I assume it'll be even faster.
use criterion::{criterion_group, criterion_main, Criterion};
use dioxus_core as dioxus;
use dioxus_core::prelude::*;
use dioxus_core_macro::*;
use dioxus_html as dioxus_elements;
use dioxus::prelude::*;
use rand::prelude::*;
criterion_group!(mbenches, create_rows);

View file

@ -1,8 +1,6 @@
use anymap::AnyMap;
use dioxus::core as dioxus_core;
use dioxus::core::AttributeValue;
use dioxus::core::DomEdit;
use dioxus::core::Mutations;
use dioxus::core::{AttributeValue, DomEdit, Mutations};
use dioxus::prelude::*;
use dioxus_native_core::node_ref::*;
use dioxus_native_core::real_dom::*;