mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-21 01:53:15 +00:00
1b597f43d1
Implement hot reloading for Desktop, TUI, and Liveview
58 lines
1.7 KiB
TOML
58 lines
1.7 KiB
TOML
[package]
|
|
name = "dioxus-desktop"
|
|
version = "0.3.0"
|
|
authors = ["Jonathan Kelley"]
|
|
edition = "2018"
|
|
description = "Dioxus VirtualDOM renderer for a remote webview instance"
|
|
license = "MIT/Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
homepage = "https://dioxuslabs.com"
|
|
documentation = "https://dioxuslabs.com"
|
|
keywords = ["dom", "ui", "gui", "react"]
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
dioxus-core = { path = "../core", version = "^0.3.0", features = ["serialize"] }
|
|
dioxus-html = { path = "../html", features = ["serialize"], version = "^0.3.0" }
|
|
dioxus-interpreter-js = { path = "../interpreter", version = "^0.3.0" }
|
|
dioxus-hot-reload = { path = "../hot-reload", optional = true }
|
|
|
|
serde = "1.0.136"
|
|
serde_json = "1.0.79"
|
|
thiserror = "1.0.30"
|
|
log = "0.4.14"
|
|
wry = { version = "0.23.4" }
|
|
futures-channel = "0.3.21"
|
|
tokio = { version = "1.16.1", features = [
|
|
"sync",
|
|
"rt-multi-thread",
|
|
"rt",
|
|
"time",
|
|
"macros",
|
|
], optional = true, default-features = false }
|
|
webbrowser = "0.8.0"
|
|
infer = "0.11.0"
|
|
dunce = "1.0.2"
|
|
slab = "0.4"
|
|
|
|
futures-util = "0.3.25"
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
objc = "0.2.7"
|
|
objc_id = "0.1.1"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation = "0.9.3"
|
|
|
|
[features]
|
|
default = ["tokio_runtime", "hot-reload"]
|
|
tokio_runtime = ["tokio"]
|
|
fullscreen = ["wry/fullscreen"]
|
|
transparent = ["wry/transparent"]
|
|
tray = ["wry/tray"]
|
|
hot-reload = ["dioxus-hot-reload"]
|
|
|
|
[dev-dependencies]
|
|
dioxus-core-macro = { path = "../core-macro" }
|
|
dioxus-hooks = { path = "../hooks" }
|
|
# image = "0.24.0" # enable this when generating a new desktop image
|