dioxus/packages/desktop/Cargo.toml

59 lines
1.7 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.2.3"
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"
2021-12-15 21:06:13 +00:00
keywords = ["dom", "ui", "gui", "react", "wasm"]
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.2.1", features = ["serialize"] }
dioxus-html = { path = "../html", features = ["serialize"], version = "^0.2.1" }
dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.1" }
serde = "1.0.136"
serde_json = "1.0.79"
thiserror = "1.0.30"
log = "0.4.14"
2022-12-14 20:49:07 +00:00
wry = { version = "0.23.4" }
futures-channel = "0.3.21"
tokio = { version = "1.16.1", 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",
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"
2022-12-07 00:37:28 +00:00
interprocess = { version = "1.1.1", optional = true}
2022-11-18 04:00:39 +00:00
futures-util = "0.3.25"
sledgehammer = "0.2.0"
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"]
2022-12-07 00:37:28 +00:00
hot-reload = ["interprocess"]
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" }
# image = "0.24.0" # enable this when generating a new desktop image