mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-17 06:08:26 +00:00
fix docs.rs build for desktop
This commit is contained in:
parent
d8704a0447
commit
7fb6dccc0c
1 changed files with 7 additions and 2 deletions
|
@ -19,7 +19,7 @@ serde = "1.0.136"
|
|||
serde_json = "1.0.79"
|
||||
thiserror = { workspace = true }
|
||||
log = { workspace = true }
|
||||
wry = { version = "0.28.0" }
|
||||
wry = { version = "0.28.0", default-features = false, features = ["protocol", "file-drop"] }
|
||||
futures-channel = { workspace = true }
|
||||
tokio = { workspace = true, features = [
|
||||
"sync",
|
||||
|
@ -51,12 +51,17 @@ core-foundation = "0.9.3"
|
|||
objc = "0.2.7"
|
||||
|
||||
[features]
|
||||
default = ["tokio_runtime", "hot-reload"]
|
||||
default = ["tokio_runtime", "hot-reload", "wry/objc-exception"]
|
||||
tokio_runtime = ["tokio"]
|
||||
fullscreen = ["wry/fullscreen"]
|
||||
transparent = ["wry/transparent"]
|
||||
tray = ["wry/tray"]
|
||||
hot-reload = ["dioxus-hot-reload"]
|
||||
dox = ["wry/dox"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
default-features = false
|
||||
features = [ "dox", "tokio_runtime", "hot-reload" ]
|
||||
|
||||
[dev-dependencies]
|
||||
dioxus-core-macro = { workspace = true }
|
||||
|
|
Loading…
Add table
Reference in a new issue