Merge pull request #1382 from ealmloff/fix-docs-rs-desktop-build
Fix docs.rs build for desktop
This commit is contained in:
1 file changed
+7
-2
@@ -18,8 +18,8 @@ dioxus-hot-reload = { workspace = true, optional = true }
|
|||||||
serde = "1.0.136"
|
serde = "1.0.136"
|
||||||
serde_json = "1.0.79"
|
serde_json = "1.0.79"
|
||||||
thiserror = { workspace = true }
|
thiserror = { workspace = true }
|
||||||
|
wry = { version = "0.28.0", default-features = false, features = ["protocol", "file-drop"] }
|
||||||
tracing = { workspace = true }
|
tracing = { workspace = true }
|
||||||
wry = { version = "0.28.0" }
|
|
||||||
futures-channel = { workspace = true }
|
futures-channel = { workspace = true }
|
||||||
tokio = { workspace = true, features = [
|
tokio = { workspace = true, features = [
|
||||||
"sync",
|
"sync",
|
||||||
@@ -51,13 +51,18 @@ core-foundation = "0.9.3"
|
|||||||
objc = "0.2.7"
|
objc = "0.2.7"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["tokio_runtime", "hot-reload"]
|
default = ["tokio_runtime", "hot-reload", "wry/objc-exception"]
|
||||||
tokio_runtime = ["tokio"]
|
tokio_runtime = ["tokio"]
|
||||||
fullscreen = ["wry/fullscreen"]
|
fullscreen = ["wry/fullscreen"]
|
||||||
transparent = ["wry/transparent"]
|
transparent = ["wry/transparent"]
|
||||||
devtools = ["wry/devtools"]
|
devtools = ["wry/devtools"]
|
||||||
dox = ["wry/dox"]
|
dox = ["wry/dox"]
|
||||||
hot-reload = ["dioxus-hot-reload"]
|
hot-reload = ["dioxus-hot-reload"]
|
||||||
|
dox = ["wry/dox"]
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
default-features = false
|
||||||
|
features = [ "dox", "tokio_runtime", "hot-reload" ]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
dioxus-core-macro = { workspace = true }
|
dioxus-core-macro = { workspace = true }
|
||||||
|
|||||||
Reference in new issue
Block a user