2021-01-21 03:22:08 -05:00
|
|
|
[package]
|
2021-07-15 18:40:12 -04:00
|
|
|
name = "dioxus-desktop"
|
2023-07-31 18:49:54 -07:00
|
|
|
version = { workspace = true }
|
2021-12-15 16:04:27 -05:00
|
|
|
authors = ["Jonathan Kelley"]
|
2021-01-21 03:22:08 -05:00
|
|
|
edition = "2018"
|
2023-07-08 18:04:27 +02:00
|
|
|
description = "WebView renderer for Dioxus"
|
2023-07-20 18:00:07 +01:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-15 16:04:27 -05:00
|
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
2023-09-16 19:03:27 +02:00
|
|
|
homepage = "https://dioxuslabs.com/learn/0.4/getting_started/desktop"
|
2023-01-10 10:16:11 -06:00
|
|
|
keywords = ["dom", "ui", "gui", "react"]
|
2021-01-21 03:22:08 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2023-06-19 14:29:11 -05:00
|
|
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
|
|
|
dioxus-html = { workspace = true, features = ["serialize", "native-bind"] }
|
2023-10-19 16:40:08 -05:00
|
|
|
dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
|
2023-06-19 14:29:11 -05:00
|
|
|
dioxus-hot-reload = { workspace = true, optional = true }
|
2022-03-09 14:24:05 -05:00
|
|
|
|
2022-02-13 18:59:15 +01:00
|
|
|
serde = "1.0.136"
|
|
|
|
serde_json = "1.0.79"
|
2023-07-11 22:54:24 +02:00
|
|
|
thiserror = { workspace = true }
|
2023-09-06 17:47:33 -05:00
|
|
|
tracing = { workspace = true }
|
2023-10-31 13:49:29 -05:00
|
|
|
wry = { version = "0.34.0", default-features = false, features = ["tao", "protocol", "file-drop"] }
|
2023-06-19 14:29:11 -05:00
|
|
|
futures-channel = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = [
|
2021-10-19 12:09:35 -04:00
|
|
|
"sync",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"rt",
|
2021-11-16 01:25:38 -05:00
|
|
|
"time",
|
2022-11-17 20:00:39 -08:00
|
|
|
"macros",
|
2023-04-25 08:16:11 -05:00
|
|
|
"fs",
|
2023-06-19 14:57:58 -05:00
|
|
|
], optional = true }
|
2022-10-24 04:40:41 +02:00
|
|
|
webbrowser = "0.8.0"
|
2022-11-17 20:00:39 -08:00
|
|
|
infer = "0.11.0"
|
2022-02-23 13:53:45 -05:00
|
|
|
dunce = "1.0.2"
|
2023-06-19 14:29:11 -05:00
|
|
|
slab = { workspace = true }
|
2023-10-15 09:23:01 -05:00
|
|
|
rustc-hash = { workspace = true }
|
2022-03-09 14:24:05 -05:00
|
|
|
|
2023-06-19 14:29:11 -05:00
|
|
|
futures-util = { workspace = true }
|
2023-05-23 09:09:05 -05:00
|
|
|
urlencoding = "2.1.2"
|
2023-07-21 18:36:25 -04:00
|
|
|
async-trait = "0.1.68"
|
2023-09-04 08:24:38 -05:00
|
|
|
crossbeam-channel = "0.5.8"
|
2022-06-02 13:33:08 -05:00
|
|
|
|
2023-07-05 12:49:41 -07: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-10-31 13:49:29 -05:00
|
|
|
rfd = "0.12"
|
2023-09-02 18:24:42 -05:00
|
|
|
global-hotkey = { git = "https://github.com/tauri-apps/global-hotkey" }
|
2023-06-30 13:59:48 -07:00
|
|
|
|
2022-11-22 21:35:40 +01:00
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
|
|
objc = "0.2.7"
|
|
|
|
objc_id = "0.1.1"
|
|
|
|
|
2022-02-23 13:53:45 -05:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
core-foundation = "0.9.3"
|
2023-07-04 14:47:36 +02:00
|
|
|
objc = "0.2.7"
|
2022-02-01 15:44:08 -05:00
|
|
|
|
2021-10-05 03:37:15 -04:00
|
|
|
[features]
|
2023-08-21 10:22:13 -05:00
|
|
|
default = ["tokio_runtime", "hot-reload", "wry/objc-exception"]
|
2021-10-05 03:37:15 -04:00
|
|
|
tokio_runtime = ["tokio"]
|
2022-02-13 19:39:47 +01:00
|
|
|
fullscreen = ["wry/fullscreen"]
|
|
|
|
transparent = ["wry/transparent"]
|
2023-08-31 15:43:26 -05:00
|
|
|
devtools = ["wry/devtools"]
|
2023-01-13 17:50:32 -06:00
|
|
|
hot-reload = ["dioxus-hot-reload"]
|
2023-12-01 22:17:51 -06:00
|
|
|
gnu = []
|
2023-08-21 10:22:13 -05:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
default-features = false
|
2024-01-04 17:04:56 -06:00
|
|
|
features = ["tokio_runtime", "hot-reload"]
|
2022-02-13 19:39:47 +01:00
|
|
|
|
2021-07-15 12:18:11 -04:00
|
|
|
[dev-dependencies]
|
2023-06-19 14:29:11 -05:00
|
|
|
dioxus-core-macro = { workspace = true }
|
|
|
|
dioxus-hooks = { workspace = true }
|
|
|
|
dioxus = { workspace = true }
|
2023-04-27 18:00:43 -05:00
|
|
|
exitcode = "1.1.2"
|
2023-05-04 11:04:06 -05:00
|
|
|
scraper = "0.16.0"
|
2023-04-27 16:38:09 -05:00
|
|
|
|
2023-10-17 14:31:58 -05:00
|
|
|
[build-dependencies]
|
2023-10-19 16:40:08 -05:00
|
|
|
dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
|
2023-10-17 14:31:58 -05:00
|
|
|
minify-js = "0.5.6"
|
|
|
|
|
2023-05-04 11:04:06 -05:00
|
|
|
# These tests need to be run on the main thread, so they cannot use rust's test harness.
|
2023-04-27 16:38:09 -05:00
|
|
|
[[test]]
|
2023-05-04 11:04:06 -05:00
|
|
|
name = "check_events"
|
|
|
|
path = "headless_tests/events.rs"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "check_rendering"
|
|
|
|
path = "headless_tests/rendering.rs"
|
|
|
|
harness = false
|