dioxus/packages/desktop/Cargo.toml

74 lines
1.9 KiB
TOML
Raw Normal View History

2021-01-21 08:22:08 +00:00
[package]
2021-07-15 22:40:12 +00:00
name = "dioxus-desktop"
version = "0.3.0"
2021-12-15 21:04:27 +00:00
authors = ["Jonathan Kelley"]
2021-01-21 08:22:08 +00:00
edition = "2018"
2021-02-28 22:40:40 +00:00
description = "Dioxus VirtualDOM renderer for a remote webview instance"
license = "MIT/Apache-2.0"
2021-12-15 21:04:27 +00:00
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
keywords = ["dom", "ui", "gui", "react"]
2021-01-21 08:22:08 +00:00
# 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"] }
2023-04-25 14:26:56 +00:00
dioxus-html = { path = "../html", features = ["serialize", "native-bind"], version = "^0.3.0" }
dioxus-interpreter-js = { path = "../interpreter", version = "^0.3.0" }
2023-01-13 23:50:32 +00:00
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.27.2" }
futures-channel = "0.3.21"
2023-04-25 13:16:11 +00:00
tokio = { version = "1.27", 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",
2021-10-19 16:09:35 +00:00
], optional = true, default-features = false }
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-01-13 00:48:23 +00:00
slab = "0.4"
2022-11-18 04:00:39 +00:00
futures-util = "0.3.25"
2023-04-25 14:26:56 +00:00
rfd = "0.11.3"
2022-06-02 18:33:08 +00:00
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"
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"]
fullscreen = ["wry/fullscreen"]
transparent = ["wry/transparent"]
tray = ["wry/tray"]
2023-01-13 23:50:32 +00:00
hot-reload = ["dioxus-hot-reload"]
2021-07-15 16:18:11 +00:00
[dev-dependencies]
dioxus-core-macro = { path = "../core-macro" }
2021-10-04 05:28:04 +00:00
dioxus-hooks = { path = "../hooks" }
2023-04-27 21:38:09 +00:00
dioxus = { path = "../dioxus" }
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