Skip to content

chore(deps): update everything, clear the build warnings - #289

Merged
BlueJayLouche merged 6 commits into
mainfrom
chore/deps-update
Nov 25, 2026
Merged

BlueJayLouche merged 6 commits into
mainfrom
chore/deps-update

Conversation

@BlueJayLouche

Copy link
Copy Markdown
Owner

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 mixer feature 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.
  • naga 30: wgpu 30 already pulls in naga 30, so rustjay-isf and rustjay-mixer were compiling a second, older copy.
  • Held back:
    • glow 0.17 must match wgpu-hal 30.
    • grafton-ndi 3.0 is an API rewrite that loads the NDI runtime dynamically; it gets its own PR.
    • apriltag-sys 0.4 is blocked: apriltag 0.4 still requires sys 0.3.

egui 0.37 changes that would have crashed the apps

  • default_fonts is no longer a default feature, and the symbol fonts (⚙ ✖ …) moved behind monochrome_emoji_fonts. Without both, the first text draw panics. Both are now enabled on the workspace dependency, so rustjay-gui and its consumers inherit them.
  • egui_theme::install_fonts adds 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 ×.
  • kittest 0.37's accessibility check: the Settings and Output widgets now have accessible names (labelled_by / hover text).

Warnings and latent errors

  • block 0.1.6 (future-incompat): vendored nokhwa now uses block2 and direct msg_send!s instead of block/cocoa-foundation, and drops core-video-sys's metal default. The last remaining path is syphon-core 0.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 to syphon-core = "0.4.1" clears the warning.
  • Unused dependencies: rustjay-io drops cocoa, core-graphics, objc2 and core-foundation. The engine's mixer feature only enabled a crate the engine never uses (every consumer depends on rustjay-mixer directly), so it's removed. webapp's and decklink's dependencies move under their real cfg (wasm32 / windows).
  • gles2.rs syntax error (ref mut enabled: e): the Pi GLES path couldn't compile on main. CI now runs clippy on --features gles2 on Linux.
  • Older clippy errors in the mtc and prodj features, which CI never builds.
  • examples/projection gets the Syphon rpath build.rs its 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,mtc on the engine, laser/dac, projection --all-features, and rustjay-io ffmpeg,hap-encode,led.
  • cargo test --workspace: all pass except the rustjay-gui snapshot 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's snapshot-renders artifact.
  • nokhwa's own tests (including the pinned USB-dongle format table) pass.

🤖 Generated with Claude Code

BlueJayLouche and others added 4 commits November 25, 2026 19:20
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>
BlueJayLouche and others added 2 commits November 25, 2026 19:58
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>
@BlueJayLouche
BlueJayLouche merged commit 8551a80 into main Nov 25, 2026
2 checks passed
@BlueJayLouche
BlueJayLouche deleted the chore/deps-update branch November 25, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant