diff --git a/Cargo.toml b/Cargo.toml index a1a72f11..afd2af77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ ] [workspace.package] -version = "0.8.50" +version = "0.8.51" edition = "2024" publish = false diff --git a/apps/blitz-preview/Cargo.toml b/apps/blitz-preview/Cargo.toml index 3d09a792..7ccdc611 100644 --- a/apps/blitz-preview/Cargo.toml +++ b/apps/blitz-preview/Cargo.toml @@ -14,10 +14,10 @@ build = "build.rs" # with it the only genuinely headless path, from building at all. anyrender = { package = "ps-anyrender", version = "^0.13.0" } anyrender_vello_cpu = { package = "ps-anyrender-vello-cpu", version = "^0.16.0", optional = true } -blitz-dom = { package = "ps-blitz-dom", version = "^0.3", features = ["system-fonts"] } -blitz-paint = { package = "ps-blitz-paint", version = "^0.3", features = ["scrollbars"] } -blitz-script = { package = "ps-blitz-script", version = "^0.3", features = ["system-fonts"] } -blitz-traits = { package = "ps-blitz-traits", version = "^0.3" } +blitz-dom = { package = "ps-blitz-dom", version = "^0.4", features = ["system-fonts"] } +blitz-paint = { package = "ps-blitz-paint", version = "^0.4", features = ["scrollbars"] } +blitz-script = { package = "ps-blitz-script", version = "^0.4", features = ["system-fonts"] } +blitz-traits = { package = "ps-blitz-traits", version = "^0.4" } brotli = { version = "^8.0.4", default-features = false, features = ["std"] } png = { version = "^0.18.1", optional = true } tauri = { version = "^2.11.5", default-features = false, features = ["compression"] } diff --git a/apps/blitz-preview/src/main.rs b/apps/blitz-preview/src/main.rs index fe0a8e0e..d34ac231 100644 --- a/apps/blitz-preview/src/main.rs +++ b/apps/blitz-preview/src/main.rs @@ -1,7 +1,3 @@ -// `Document` provides `inner_mut` and `poll`, which both the capture path -// and the inspection host call. Unconditional: it is used in every -// configuration now. -use blitz_dom::Document; use blitz_dom::DocumentConfig; use blitz_script::{DefaultScriptFetcher, FetchError, ScriptDocument, ScriptFetcher}; #[cfg(all(not(test), feature = "capture"))] @@ -530,6 +526,7 @@ fn main() { #[cfg(test)] mod tests { use super::*; + use blitz_dom::Document; #[test] fn embedded_assets_are_compressed_and_round_trip() { diff --git a/apps/gui/Cargo.toml b/apps/gui/Cargo.toml index 32c1ce0c..57b696ab 100644 --- a/apps/gui/Cargo.toml +++ b/apps/gui/Cargo.toml @@ -114,15 +114,14 @@ tauri-runtime-blitz = { version = "^0.3", optional = true, features = ["macos-pr # resolved anyrender from crates.io at 0.12.0, and the build stopped at # "failed to select a version". # -# A caret is what was meant. `cargo update` moves it, `Cargo.lock` records what -# was resolved, and anything else asking for the same range gets the same crate -# rather than a second copy of the engine - which is the failure that reads as -# `expected ScriptDocument, found ScriptDocument` with both types naming one -# file. Working against a local checkout stays possible through the `[patch]` -# entries in `.cargo/config.toml`, so the default exercises what a release -# actually resolves. -blitz-dom = { package = "ps-blitz-dom", version = "^0.3", features = ["system-fonts", "parallel-construct"], optional = true } -blitz-script = { package = "ps-blitz-script", version = "^0.3", features = ["system-fonts"], optional = true } +# A caret is what was meant. Every lockless build resolves the compatible family +# afresh, and anything else asking for the same range gets the same crate rather +# than a second copy of the engine. Two incompatible families produce the failure +# that reads as `expected ScriptDocument, found ScriptDocument` with both types +# naming one file. Local renderer work uses `.cargo/local-renderer.toml` through +# `scripts/local-renderer.sh`, so the default exercises the published graph. +blitz-dom = { package = "ps-blitz-dom", version = "^0.4", features = ["system-fonts", "parallel-construct"], optional = true } +blitz-script = { package = "ps-blitz-script", version = "^0.4", features = ["system-fonts"], optional = true } brotli = { version = "8.0.4", default-features = false, features = ["std"], optional = true } url = { version = "2.5.8", optional = true } tauri-plugin-updater = "2"