Pin assets sha to keep CI in check
This commit is contained in:
12 files changed
+20
-20
No files matched your search
@@ -76,7 +76,8 @@ toml_edit = "0.19.11"
|
||||
tauri-bundler = { version = "=1.4.*", features = ["native-tls-vendored"] }
|
||||
tauri-utils = "=1.5.*"
|
||||
|
||||
manganis-cli-support = { git = "https://github.com/DioxusLabs/collect-assets", features = ["webp", "html"] }
|
||||
# todo: don't make this optional
|
||||
manganis-cli-support = { workspace = true, features = ["webp", "html"] }
|
||||
|
||||
dioxus-autofmt = { workspace = true }
|
||||
dioxus-check = { workspace = true }
|
||||
|
||||
@@ -136,6 +136,7 @@ impl Bundle {
|
||||
}
|
||||
|
||||
// Add all assets from collect assets to the bundle
|
||||
#[cfg(feature = "collect-assets")]
|
||||
{
|
||||
let config = manganis_cli_support::Config::current();
|
||||
let location = config.assets_serve_location().to_string();
|
||||
|
||||
@@ -53,10 +53,7 @@ tao = { version = "0.24.0", features = ["rwh_05"] }
|
||||
|
||||
[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", optional = true, features = [
|
||||
"webp",
|
||||
"html",
|
||||
] }
|
||||
manganis-cli-support = { workspace = true, optional = true, features = ["webp", "html"] }
|
||||
rfd = "0.12"
|
||||
global-hotkey = "0.4.1"
|
||||
muda = "0.11.3"
|
||||
@@ -76,7 +73,7 @@ fullscreen = ["wry/fullscreen"]
|
||||
transparent = ["wry/transparent"]
|
||||
devtools = ["wry/devtools"]
|
||||
hot-reload = ["dioxus-hot-reload"]
|
||||
asset-collect = ["manganis-cli-support"]
|
||||
collect-assets = ["manganis-cli-support"]
|
||||
gnu = []
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
||||
@@ -16,7 +16,6 @@ dioxus-html = { workspace = true, optional = true }
|
||||
dioxus-core-macro = { workspace = true, optional = true }
|
||||
dioxus-hooks = { workspace = true, optional = true }
|
||||
dioxus-rsx = { workspace = true, optional = true }
|
||||
manganis = { git = "https://github.com/DioxusLabs/collect-assets" }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
dioxus-hot-reload = { workspace = true, optional = true }
|
||||
@@ -37,8 +36,6 @@ criterion = "0.3.5"
|
||||
thiserror = { workspace = true }
|
||||
env_logger = "0.10.0"
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
# dioxus-edit-stream = { workspace = true }
|
||||
|
||||
|
||||
[[bench]]
|
||||
name = "jsframework"
|
||||
|
||||
@@ -22,9 +22,6 @@ pub use dioxus_rsx as rsx;
|
||||
pub use dioxus_core_macro as core_macro;
|
||||
|
||||
pub mod prelude {
|
||||
pub use manganis;
|
||||
pub use manganis::mg;
|
||||
|
||||
#[cfg(feature = "hooks")]
|
||||
pub use crate::hooks::*;
|
||||
|
||||
|
||||
@@ -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"]
|
||||
Reference in new issue
Block a user