Merge branch 'upstream' into desktop-hot-reload

This commit is contained in:
Evan Almloff committed 2023-01-12 10:59:01 -06:00
commit dc8fcf254b
55 files changed
+1013 -601

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ license = "MIT/Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
keywords = ["dom", "ui", "gui", "react", "wasm"]
keywords = ["dom", "ui", "gui", "react"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+4 -4
View File
@@ -20,7 +20,7 @@
[Website](https://dioxuslabs.com) |
[Guides](https://dioxuslabs.com/guide/) |
[API Docs](https://docs.rs/dioxus-desktop/latest/dioxus-desktop) |
[API Docs](https://docs.rs/dioxus-desktop/latest/dioxus_desktop) |
[Chat](https://discord.gg/XgGxMSkvUM)
@@ -37,10 +37,10 @@ This requires that webview is installed on the target system. WebView is install
## Features
- Simple, one-line launch for desktop apps
- Dioxus virtualdom running on a native thread
- Dioxus VirtualDom running on a native thread
- Full HTML/CSS support via `wry` and `tao`
- Exposed `window` and `Proxy` types from tao for direct window manipulation
- Helpful hooks for
- Helpful hooks for accessing the window, WebView, and running javascript.
## Contributing
@@ -53,5 +53,5 @@ This project is licensed under the [MIT license].
[mit license]: https://github.com/DioxusLabs/dioxus/blob/master/LICENSE-MIT
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in Dioxus by you, shall be licensed as MIT, without any additional
for inclusion in Dioxus by you shall be licensed as MIT without any additional
terms or conditions.
+3 -2
View File
@@ -18,10 +18,11 @@ $ cargo new --bin demo
$ cd app
```
Add Dioxus with the `desktop` feature:
Add Dioxus and the `desktop` renderer feature:
```shell
$ cargo add dioxus --features desktop
$ cargo add dioxus
$ cargo add dioxus-desktop
```
Edit your `main.rs`: