Repository navigation
chore(deps): update everything, clear the build warnings - #289
Merged
Merged
Conversation
Dependencies - cargo update (261 compatible bumps) plus every direct dep a major behind: egui/egui-wgpu/egui-winit/eframe/egui_kittest 0.37, naga 30 (wgpu 30 already used naga 30, so rustjay-isf/mixer were building a second copy), glam 0.34, cpal 0.18, rand 0.10, pollster 1.0, dirs 7, qrcode 0.15, rfd 0.18, usvg 0.50, json-patch 5, laser-dac 0.14, drm 0.15. - glow stays 0.17: it must match wgpu-hal 30 (GLES interop). - grafton-ndi stays 0.11: 3.0 is a rewrite that loads the NDI runtime dynamically; its own PR. - Ports: cpal takes StreamConfig by value; glam moved projections into camera:: (rh::proj::directx::perspective == the old Mat4::perspective_rh). egui 0.37 - default_fonts is opt-in now and the symbol fonts moved behind monochrome_emoji_fonts; without both, text panics. Enabled on the workspace dep so rustjay-gui (and its consumers) inherit them. - egui_theme::install_fonts adds the bundled Hack as the last Proportional fallback: Ubuntu-Light can't draw → ← ▼ ●, which rendered as boxes (kittest now panics on missing glyphs). ✕ had no font at all → ×. - kittest's new accessibility check: the Settings/Output sliders, combos, spinners and text fields get accessible names (labelled_by / hover text). - Id::new -> Id::unique (same deterministic hash, renamed). Warnings and latent errors - block 0.1.6 (future-incompat): vendored nokhwa now uses block2 and local msg_sends instead of block/cocoa-foundation, and core-video-sys without its `metal` default. The last path is syphon-core 0.4.0 (fixed in syphon-core 0.4.1, pending publish). - Unused deps: cocoa, core-graphics, objc2, core-foundation (rustjay-io); the engine's `mixer` feature only enabled a crate it never used (consumers depend on rustjay-mixer directly) — removed. webapp/decklink deps moved under their real cfg (wasm32 / windows). - gles2.rs had a syntax error (`ref mut enabled: e`) — the Pi GLES path could not compile. CI now clippies `--features gles2` on Linux. - Latent clippy errors in the mtc and prodj features (never built by CI). - examples/projection gets the Syphon rpath build.rs its siblings have, so its binary runs on macOS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cargo update took it to 0.3.1, whose prefetch thread is a measured regression on a live KOVVBOJ set (CPU 89.7% -> 107.4%, same 60 fps). The "0.3.0" requirement allowed 0.3.1, so the pin had only ever lived in the lockfile; make it explicit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tions The gles2 path compiles on Linux now (the syntax fix was its only error); CI's new `--features gles2` clippy step found nine lints, fixed here: collapsible ifs, unwraps after is_some (now one if-let over both fields), an unneeded `mut`, same-type casts, and `drm_mode` unused without drm-gles2. The dyn hooks on_resize / handle_input_command / get_input_state are allowed as dead code with a note: the GLES2 run loop never calls them, so GLES2 effects miss resizes and web input commands. Wiring is its own change. rustjay-gui: egui_theme::font_definitions() returns the fonts install_fonts sets, so an app adding its own fonts (KOVVBOJ's Workbench) starts from them instead of egui's defaults and keeps the Hack fallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
syphon-core 0.4.1 (BlueJayLouche/syphon-rs#6) drops block, cocoa and objc-foundation. With vendored nokhwa already off them, block 0.1.6 leaves the lockfile and the workspace builds with no warnings at all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From this PR's CI snapshot-renders (lavapipe). The diffs are confined to the tab content: egui 0.37's spacing moves the rows a few pixels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI's audit failed on time 0.3.45 (RUSTSEC-2026-0009, fixed in 0.3.47), which `cargo update` had not taken. The vendored wgpu-hal / imgui-wgpu declare rust-version 1.87 (their upstream MSRV), and resolver 3 holds every dependency to versions that build on the lowest member rust-version — silently, for ~20 crates including that security fix. This workspace builds and tests on current stable, so .cargo/config.toml now resolves against it (`incompatible-rust-versions = "allow"`); this only affects this repo's lockfile, not published crates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates every dependency and clears the build warnings and latent errors. Breaking for 0.2.0: egui 0.37 is in the public API, and the engine's
mixerfeature is removed.Dependencies
cargo update(261 compatible bumps) plus every direct dependency that was a major version behind: egui stack 0.37, naga 30, glam 0.34, cpal 0.18, rand 0.10, pollster 1.0, dirs 7, qrcode 0.15, rfd 0.18, usvg 0.50, json-patch 5, laser-dac 0.14, drm 0.15.rustjay-isfandrustjay-mixerwere compiling a second, older copy.glow0.17 must match wgpu-hal 30.grafton-ndi3.0 is an API rewrite that loads the NDI runtime dynamically; it gets its own PR.apriltag-sys0.4 is blocked:apriltag0.4 still requires sys 0.3.egui 0.37 changes that would have crashed the apps
default_fontsis no longer a default feature, and the symbol fonts (⚙ ✖ …) moved behindmonochrome_emoji_fonts. Without both, the first text draw panics. Both are now enabled on the workspace dependency, sorustjay-guiand its consumers inherit them.egui_theme::install_fontsadds the bundled Hack font as the last Proportional fallback. Ubuntu-Light has no→ ← ▼ ●, so those already rendered as boxes. kittest 0.37 now panics on missing glyphs, which is how this surfaced.✕had no font at all and became×.labelled_by/ hover text).Warnings and latent errors
block0.1.6 (future-incompat): vendored nokhwa now usesblock2and directmsg_send!s instead ofblock/cocoa-foundation, and dropscore-video-sys'smetaldefault. The last remaining path issyphon-core0.4.0, fixed in syphon-core 0.4.1: drop block 0.1.6, clear the workspace warnings syphon-rs#6 (0.4.1, not yet published). Once it's published, bumping tosyphon-core = "0.4.1"clears the warning.cocoa,core-graphics,objc2andcore-foundation. The engine'smixerfeature only enabled a crate the engine never uses (every consumer depends onrustjay-mixerdirectly), so it's removed. webapp's and decklink's dependencies move under their real cfg (wasm32 / windows).gles2.rssyntax error (ref mut enabled: e): the Pi GLES path couldn't compile on main. CI now runs clippy on--features gles2on Linux.mtcandprodjfeatures, which CI never builds.examples/projectiongets the Syphon rpathbuild.rsits sibling examples already have, so its binary runs on macOS.Checks (macOS)
cargo clippy --workspace --all-targets -D warnings: clean. Also clean with--features egui,api,osc-feedback,projection,link,prodj,mtcon the engine,laser/dac, projection--all-features, and rustjay-ioffmpeg,hap-encode,led.cargo test --workspace: all pass except therustjay-guisnapshot comparisons, which are expected to change with egui 0.37 (a 2–3 px vertical shift; checked by eye). Baselines get refreshed from this PR'ssnapshot-rendersartifact.🤖 Generated with Claude Code