Skip to content

v0.18.4 — first publish since v0.13.0

Choose a tag to compare

@abdulwahed-sweden abdulwahed-sweden released this 23 May 17:55
· 194 commits to main since this release

All four workspace crates published to crates.io at 0.18.4. First publish since v0.13.0 — closes the 5-minor gap between the local workspace and the registry.

What was blocking publish

crates/rustio-admin/src/admin/docs.rs was reaching include_str!("../../../../docs/<file>.md") outside the crate root. Worked in-tree but failed cargo publish verification: the published tarball contains only the crate's own files, so the path didn't resolve. The bug was latent since v0.16.0 (introduced by 8817234); never surfaced because no version ≥ 0.14.0 had been published.

The fix

Copied architecture.md, modeladmin.md, and public-api.md into crates/rustio-admin/assets/docs/ and updated the three include_str! paths to ../../assets/docs/<file>.md (now inside the crate root, so they survive the publish tarball).

The workspace docs/ directory remains the canonical source for the human-facing site and IDE access; the in-crate copies are bundled at release time. Future doc edits should update both.

Side fix

A doc passage in architecture.md literally documents the Tier-2 symbol grep pattern — which then matched its own self-described regex when the doc moved inside crates/. The Tier-2 guard now excludes crates/*/assets/** (it scans code, not documentation).

Published crates

Crate crates.io Notes
rustio-admin 0.18.4 17 total versions
rustio-admin-macros 0.18.4 17 total versions
rustio-admin-cli 0.18.4 14 total versions
rio-theme 0.18.4 first release — name claimed

What this unlocks

  • rustio startproject now works against the unmodified crates.io registry — no [patch.crates-io] workaround needed.
  • The full theme engine (rio-theme) is available as a standalone build-time crate for any Rust project, not just rustio-admin consumers.
  • All the work since v0.14.0 — Builder MVP, visual identity overhaul, dark-frame chrome, Operations & i18n surfaces, theme engine — is now accessible via cargo add rustio-admin.

Compatibility

  • No public API change vs 0.18.3.
  • Drop-in upgrade for anyone tracking the workspace; the v0.13.0 → v0.18.4 jump is a five-minor bundle whose per-release detail is in CHANGELOG.md.
  • MSRV: 1.88 (unchanged since v0.14.0).