2021-01-21 08:22:08 +00:00
|
|
|
[package]
|
2021-07-15 22:40:12 +00:00
|
|
|
name = "dioxus-desktop"
|
2023-08-01 01:49:54 +00:00
|
|
|
version = { workspace = true }
|
2021-12-15 21:04:27 +00:00
|
|
|
authors = ["Jonathan Kelley"]
|
2021-01-21 08:22:08 +00:00
|
|
|
edition = "2018"
|
2023-07-08 16:04:27 +00:00
|
|
|
description = "WebView renderer for Dioxus"
|
2023-07-20 17:00:07 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-15 21:04:27 +00:00
|
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
2023-07-08 16:04:27 +00:00
|
|
|
homepage = "https://dioxuslabs.com/docs/0.3/guide/en/getting_started/desktop.html"
|
2023-01-10 16:16:11 +00:00
|
|
|
keywords = ["dom", "ui", "gui", "react"]
|
2021-01-21 08:22:08 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
|
|
|
dioxus-html = { workspace = true, features = ["serialize", "native-bind"] }
|
|
|
|
dioxus-interpreter-js = { workspace = true }
|
|
|
|
dioxus-hot-reload = { workspace = true, optional = true }
|
2022-03-09 19:24:05 +00:00
|
|
|
|
2022-02-13 17:59:15 +00:00
|
|
|
serde = "1.0.136"
|
|
|
|
serde_json = "1.0.79"
|
2023-07-11 20:54:24 +00:00
|
|
|
thiserror = { workspace = true }
|
2023-06-19 19:29:11 +00:00
|
|
|
log = { workspace = true }
|
2023-07-05 20:44:24 +00:00
|
|
|
wry = { version = "0.28.0" }
|
2023-06-19 19:29:11 +00:00
|
|
|
futures-channel = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = [
|
2021-10-19 16:09:35 +00:00
|
|
|
"sync",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"rt",
|
2021-11-16 06:25:38 +00:00
|
|
|
"time",
|
2022-11-18 04:00:39 +00:00
|
|
|
"macros",
|
2023-04-25 13:16:11 +00:00
|
|
|
"fs",
|
2023-06-19 19:57:58 +00:00
|
|
|
], optional = true }
|
2022-10-24 02:40:41 +00:00
|
|
|
webbrowser = "0.8.0"
|
2022-11-18 04:00:39 +00:00
|
|
|
infer = "0.11.0"
|
2022-02-23 18:53:45 +00:00
|
|
|
dunce = "1.0.2"
|
2023-06-19 19:29:11 +00:00
|
|
|
slab = { workspace = true }
|
2022-03-09 19:24:05 +00:00
|
|
|
|
2023-06-19 19:29:11 +00:00
|
|
|
futures-util = { workspace = true }
|
2023-05-23 14:09:05 +00:00
|
|
|
urlencoding = "2.1.2"
|
2023-07-21 22:36:25 +00:00
|
|
|
async-trait = "0.1.68"
|
2022-06-02 18:33:08 +00:00
|
|
|
|
2023-07-05 19:49:41 +00:00
|
|
|
|
|
|
|
[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
|
2023-06-30 20:59:48 +00:00
|
|
|
rfd = "0.11.3"
|
|
|
|
|
2022-11-22 20:35:40 +00:00
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
|
|
objc = "0.2.7"
|
|
|
|
objc_id = "0.1.1"
|
|
|
|
|
2022-02-23 18:53:45 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
core-foundation = "0.9.3"
|
2023-07-04 12:47:36 +00:00
|
|
|
objc = "0.2.7"
|
2022-02-01 20:44:08 +00:00
|
|
|
|
2021-10-05 07:37:15 +00:00
|
|
|
[features]
|
2022-12-07 00:37:28 +00:00
|
|
|
default = ["tokio_runtime", "hot-reload"]
|
2021-10-05 07:37:15 +00:00
|
|
|
tokio_runtime = ["tokio"]
|
2022-02-13 18:39:47 +00:00
|
|
|
fullscreen = ["wry/fullscreen"]
|
|
|
|
transparent = ["wry/transparent"]
|
|
|
|
tray = ["wry/tray"]
|
2023-01-13 23:50:32 +00:00
|
|
|
hot-reload = ["dioxus-hot-reload"]
|
2022-02-13 18:39:47 +00:00
|
|
|
|
2021-07-15 16:18:11 +00:00
|
|
|
[dev-dependencies]
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-core-macro = { workspace = true }
|
|
|
|
dioxus-hooks = { workspace = true }
|
|
|
|
dioxus = { workspace = true }
|
2023-04-27 23:00:43 +00:00
|
|
|
exitcode = "1.1.2"
|
2023-05-04 16:04:06 +00:00
|
|
|
scraper = "0.16.0"
|
2023-04-27 21:38:09 +00:00
|
|
|
|
2023-05-04 16:04:06 +00:00
|
|
|
# These tests need to be run on the main thread, so they cannot use rust's test harness.
|
2023-04-27 21:38:09 +00:00
|
|
|
[[test]]
|
2023-05-04 16:04:06 +00:00
|
|
|
name = "check_events"
|
|
|
|
path = "headless_tests/events.rs"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "check_rendering"
|
|
|
|
path = "headless_tests/rendering.rs"
|
|
|
|
harness = false
|