|
@@ -69,7 +69,7 @@ web-sys = { version = "0.3.61", features = ["Window", "Document", "Element", "Ht
|
|
|
|
|
|
[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]
|
|
|
# This is only for debug mode, and it appears mobile does not support some packages this uses
|
|
|
-manganis-cli-support = { git = "https://github.com/DioxusLabs/collect-assets", features = ["webp", "html"] }
|
|
|
+manganis-cli-support = { workspace = true, features = ["webp", "html"], optional = true }
|
|
|
|
|
|
[features]
|
|
|
default = ["hot-reload"]
|
|
@@ -83,3 +83,4 @@ salvo = ["dep:salvo", "ssr", "http-body-util"]
|
|
|
ssr = ["server_fn/ssr", "dioxus_server_macro/ssr", "tokio", "tokio-util", "tokio-stream", "dioxus-ssr", "tower", "hyper", "http", "dioxus-router?/ssr", "tower-layer", "anymap", "tracing-futures", "pin-project", "thiserror"]
|
|
|
default-tls = ["server_fn/default-tls"]
|
|
|
rustls = ["server_fn/rustls"]
|
|
|
+collect-assets = ["manganis-cli-support"]
|