chores: slim deps and upgrade docs

This commit is contained in:
Jonathan Kelley committed 2021-10-19 12:09:23 -04:00
1 parent 7d612c77f9
commit 83dd49d890
5 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ serde = { version = "1.0.130", features = ["derive"] }
im-rc = "15.0.0" im-rc = "15.0.0"
fxhash = "0.2.1" fxhash = "0.2.1"
anyhow = "1.0.42" anyhow = "1.0.42"
reqwest = "0.11.4" # reqwest = "0.11.4"
serde_json = "1.0.68" serde_json = "1.0.68"
simple_logger = "1.13.0" simple_logger = "1.13.0"
+4 -5
View File
@@ -65,12 +65,11 @@ Dioxus can be used to deliver webapps, desktop apps, static sites, liveview apps
If you know React, then you already know Dioxus. If you know React, then you already know Dioxus.
### Unique features: ### Unique features:
- Incredible inline documentation. Supports hover and guides for all HTML elements, listeners, and events.
- Templates are "constified" at compile time. Nodes that don't change will won't be diffed.
- Custom bump-allocator backing for all components. Nearly 0 allocations for steady-state components.
- Starting a new app takes zero templates or special tools - get a new app running in just seconds.
- Desktop apps running natively (no Electron!) in less than 10 lines of code.
- The most ergonomic and powerful state management of any Rust UI toolkit. - The most ergonomic and powerful state management of any Rust UI toolkit.
- Desktop apps running natively (no Electron!) in less than 10 lines of code.
- Starting a new app takes zero templates or special tools - get a new app running in just seconds.
- Incredible inline documentation. Supports hover and guides for all HTML elements, listeners, and events.
- Custom bump-allocator backing for all components. Nearly 0 allocations for steady-state components.
- Multithreaded asynchronous coroutine scheduler for powerful async code. - Multithreaded asynchronous coroutine scheduler for powerful async code.
- And more! Read the full release post here. - And more! Read the full release post here.
+2 -2
View File
@@ -22,7 +22,7 @@ longest-increasing-subsequence = "0.1.0"
# internall used # internall used
log = { version = "0.4", features = ["release_max_level_off"] } log = { version = "0.4", features = ["release_max_level_off"] }
futures-util = "0.3.15" futures-util = { version = "0.3.15", no_default_features = true }
smallvec = "1.6.1" smallvec = "1.6.1"
@@ -51,7 +51,7 @@ simple_logger = "1.13.0"
dioxus-core-macro = { path = "../core-macro", version = "0.1.2" } dioxus-core-macro = { path = "../core-macro", version = "0.1.2" }
[features] [features]
default = ["serialize"] default = []
serialize = ["serde", "serde_repr"] serialize = ["serde", "serde_repr"]
[[bench]] [[bench]]
+1
View File
@@ -0,0 +1 @@
fn main() {}
+2 -1
View File
@@ -68,7 +68,8 @@ impl Future for YieldNow {
/// ///
/// `ScopeId` is a `usize` that is unique across the entire VirtualDOM - but not unique across time. If a component is /// `ScopeId` is a `usize` that is unique across the entire VirtualDOM - but not unique across time. If a component is
/// unmounted, then the `ScopeId` will be reused for a new component. /// unmounted, then the `ScopeId` will be reused for a new component.
#[derive(serde::Serialize, serde::Deserialize, Copy, Clone, PartialEq, Eq, Hash, Debug)] #[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
pub struct ScopeId(pub usize); pub struct ScopeId(pub usize);
/// An Element's unique identifier. /// An Element's unique identifier.