chores: slim deps and upgrade docs

This commit is contained in:
Jonathan Kelley 2021-10-19 12:09:23 -04:00
parent 7d612c77f9
commit 83dd49d890
5 changed files with 10 additions and 9 deletions

View file

@ -45,7 +45,7 @@ serde = { version = "1.0.130", features = ["derive"] }
im-rc = "15.0.0"
fxhash = "0.2.1"
anyhow = "1.0.42"
reqwest = "0.11.4"
# reqwest = "0.11.4"
serde_json = "1.0.68"
simple_logger = "1.13.0"

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.
### 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.
- 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.
- And more! Read the full release post here.

View file

@ -22,7 +22,7 @@ longest-increasing-subsequence = "0.1.0"
# internall used
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"
@ -51,7 +51,7 @@ simple_logger = "1.13.0"
dioxus-core-macro = { path = "../core-macro", version = "0.1.2" }
[features]
default = ["serialize"]
default = []
serialize = ["serde", "serde_repr"]
[[bench]]

View file

@ -0,0 +1 @@
fn main() {}

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
/// 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);
/// An Element's unique identifier.