Skip to content

chore: prep the engine crates for crates.io - #288

Merged
BlueJayLouche merged 3 commits into
mainfrom
chore/publish-prep
Nov 25, 2026
Merged

BlueJayLouche merged 3 commits into
mainfrom
chore/publish-prep

Conversation

@BlueJayLouche

Copy link
Copy Markdown
Owner

Gets the workspace publishable. A verified cargo publish --workspace --dry-run passes for every crate except rustjay-sync and rustjay-engine, which can't verify until rustjay-prodjlink is actually on crates.io.

Blockers fixed

  • imgui-wgpu. crates.io's 0.28 pins wgpu 29. Upstream master has wgpu 30 but hasn't been released, and is byte-identical to vendor/imgui-wgpu. That copy now publishes as rustjay-imgui-wgpu 0.28.0 (lib name imgui_wgpu, so no source changes). It's a versioned path dep instead of a [patch].
  • isf. crates.io's isf is nannou's unforked 2020 release. The fork (one file) is vendored into rustjay-isf/src/isf.rs with its MIT notice, plus the edition-2024 ref-pattern fixes.
  • prodjlink-rs. The fork is renamed to rustjay-prodjlink (BlueJayLouche/prodjlink-rs@b48000f). rustjay-sync depends on it with package =, so the lib name and sources are unchanged.

Cleanup

  • Removed the dependencies cargo 1.100's new unused-deps lint flagged, after grepping every source file regardless of cfg. The remaining hits are false positives: webapp's wasm-only deps, decklink's cfg-gated main, and the engine's mixer feature.
  • Missing license/repository metadata; laser/ledmap path deps now go through the workspace; publish = false on every example.
  • Updated three yanked lockfile entries.
  • README + guide: rustjay-engine = "0.1", plus how to opt back into the wgpu-hal / nokhwa runtime patches.

CI

The Linux job now sets CFLAGS=-std=gnu17. ubuntu-latest's GCC now defaults to C23 and rejects apriltag-sys 0.3's void (*f)() callbacks. That's what turned #287 red, and main would fail the same way.

Downstream

When KOVVBOJ next bumps its engine rev, it must drop its imgui-wgpu patch line: the repo no longer has a package by that name.

🤖 Generated with Claude Code

BlueJayLouche and others added 3 commits November 25, 2026 13:47
- Vendor the isf fork into rustjay-isf (crates.io's `isf` is the unforked
  2020 release; crates.io can't take git deps). MIT notice kept.
- rustjay-sync's prodj feature now depends on the fork published as
  `rustjay-prodjlink` (lib name unchanged, so no source changes).
- Drop dependencies the 1.100 unused-dependency lint flagged, after
  grepping every source file regardless of cfg; pollster moves to
  rustjay-render's dev-deps. rustjay-gui's `mtc` becomes a plain flag
  (the engine already enables rustjay-control/mtc).
- Missing metadata: rustjay-isf license/repository, repository for
  rustjay-sync and ledmap-studio; laser/ledmap path deps go through the
  workspace so they carry a version.
- Allow clippy::needless_bool on needs_readback: its cfg-gated arms
  compile out on some targets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rates.io

- crates.io's imgui-wgpu 0.28 pins wgpu 29; upstream master has wgpu 30 but
  no release, and is byte-identical to vendor/imgui-wgpu. Publish that copy
  as rustjay-imgui-wgpu (lib name unchanged) via a versioned path dep, and
  drop its patch entry, its upstream examples and its reserved
  .cargo_vcs_info.json / Cargo.toml.orig.
- publish = false on every example, so `cargo publish --workspace` can't
  upload them.
- Unused deps the standalone package builds found: qrcode is now part of
  rustjay-gui's egui feature, image leaves rustjay-render.
- Lockfile: update the yanked async-executor, clipboard-win and chacha20.
- README + guide: depend on rustjay-engine = "0.1", and how to opt back
  into the wgpu-hal and nokhwa runtime patches crates.io builds don't get.
- CI: CFLAGS=-std=gnu17 on Linux. The runner's GCC now compiles C23 by
  default, which rejects apriltag-sys 0.3's `void (*f)()` callbacks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cargo audit (CI's Security audit step) found 7 vulnerabilities, all filed
after main's last green run:
- zip 3.0.0 (6 advisories): only a build-dependency of utoipa-swagger-ui 9,
  which unpacks the bundled Swagger UI. utoipa-swagger-ui 10.0.2 takes zip ^9
  (now 9.8.2) and needs utoipa 6; rustjay-api builds unchanged against both.
- url 2.5.8 -> 2.5.9.
Also clears two unsound warnings: rustix 1.1.4 -> 1.1.6, tokio -> 1.54.1.

Adds a test that the OpenAPI spec still generates with its routes, so the
next utoipa bump can't drop them silently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BlueJayLouche
BlueJayLouche merged commit a11a61a into main Nov 25, 2026
2 checks passed
@BlueJayLouche
BlueJayLouche deleted the chore/publish-prep branch November 25, 2026 03:42
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