mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-15 00:47:09 +00:00
77 lines
2.1 KiB
TOML
77 lines
2.1 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 = { workspace = true, features = ["serialize"] }
|
|
dioxus-html = { workspace = true, features = ["serialize", "native-bind"] }
|
|
dioxus-interpreter-js = { workspace = true }
|
|
dioxus-hot-reload = { workspace = true, optional = true }
|
|
|
|
serde = "1.0.136"
|
|
serde_json = "1.0.79"
|
|
thiserror = "1.0.30"
|
|
log = { workspace = true }
|
|
wry = { version = "0.28.0" }
|
|
futures-channel = { workspace = true }
|
|
tokio = { workspace = true, features = [
|
|
"sync",
|
|
"rt-multi-thread",
|
|
"rt",
|
|
"time",
|
|
"macros",
|
|
"fs",
|
|
], optional = true }
|
|
webbrowser = "0.8.0"
|
|
infer = "0.11.0"
|
|
dunce = "1.0.2"
|
|
slab = { workspace = true }
|
|
|
|
futures-util = { workspace = true }
|
|
urlencoding = "2.1.2"
|
|
|
|
|
|
[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]
|
|
rfd = "0.11.3"
|
|
|
|
[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 = { workspace = true }
|
|
dioxus-hooks = { workspace = true }
|
|
dioxus = { workspace = true }
|
|
exitcode = "1.1.2"
|
|
scraper = "0.16.0"
|
|
|
|
# These tests need to be run on the main thread, so they cannot use rust's test harness.
|
|
[[test]]
|
|
name = "check_events"
|
|
path = "headless_tests/events.rs"
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "check_rendering"
|
|
path = "headless_tests/rendering.rs"
|
|
harness = false
|