chore(workspace): inherit package metadata from [workspace.package] #111

Merged
mahmoud merged 1 commit from development_workspace_package_inheritance into development 2026-04-27 18:31:21 +00:00
Owner

Summary

Follow-up to #109 — finishes the alignment with hero_compute by migrating the nine remaining crate Cargo.toml files to inherit shared package metadata from [workspace.package] at the workspace root.

Each [package] block now reads:

[package]
name = "..."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "..."

The two new crates added in #109 (hero_books, hero_docs) already used this pattern.

Side effects

  • Five crates that were stuck at 0.1.0hero_books_sdk, hero_books_admin, hero_books_ui, hero_books_app, hero_books_examples — now report 0.1.5, matching the rest of the workspace. These are all internal path-deps with no external version constraints, so the bump is purely cosmetic; nothing depending on them needs to change.
  • All crates now have repository = "https://forge.ourworld.tf/lhumina_code/hero_books" (previously only hero_books_lib_rhai had it explicitly).
  • hero_books_lib_rhai picks up the authors field it was missing.

Test plan

  • cargo check --workspace — clean (one pre-existing unused-import warning in hero_books_app, unrelated).
  • Cargo.lock diff is exactly the five 0.1.0 → 0.1.5 version bumps for the rebased crates; no dependency-graph churn.
  • Forgejo CI build-linux passes (token issue from PR #99 / earlier still in play; unrelated to this diff).

🤖 Generated with Claude Code

## Summary Follow-up to #109 — finishes the alignment with hero_compute by migrating the nine remaining crate `Cargo.toml` files to inherit shared package metadata from `[workspace.package]` at the workspace root. Each `[package]` block now reads: ```toml [package] name = "..." version.workspace = true edition.workspace = true rust-version.workspace = true authors.workspace = true license.workspace = true repository.workspace = true description = "..." ``` The two new crates added in #109 (`hero_books`, `hero_docs`) already used this pattern. ## Side effects - Five crates that were stuck at `0.1.0` — `hero_books_sdk`, `hero_books_admin`, `hero_books_ui`, `hero_books_app`, `hero_books_examples` — now report `0.1.5`, matching the rest of the workspace. These are all internal path-deps with no external version constraints, so the bump is purely cosmetic; nothing depending on them needs to change. - All crates now have `repository = "https://forge.ourworld.tf/lhumina_code/hero_books"` (previously only `hero_books_lib_rhai` had it explicitly). - `hero_books_lib_rhai` picks up the `authors` field it was missing. ## Test plan - [x] `cargo check --workspace` — clean (one pre-existing unused-import warning in `hero_books_app`, unrelated). - [x] `Cargo.lock` diff is exactly the five `0.1.0 → 0.1.5` version bumps for the rebased crates; no dependency-graph churn. - [ ] Forgejo CI build-linux passes (token issue from PR #99 / earlier still in play; unrelated to this diff). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chore(workspace): inherit package metadata from [workspace.package]
All checks were successful
Test / test (pull_request) Successful in 6m34s
Test / integration (pull_request) Successful in 4m11s
80f20138e5
Migrates the nine remaining crate Cargo.toml files to use
version.workspace = true, edition.workspace = true, etc. Matches the
hero_compute pattern and the two new crates (hero_books, hero_docs)
already added in PR #109.

Each [package] block now reads:
  name = "..."
  version.workspace = true
  edition.workspace = true
  rust-version.workspace = true
  authors.workspace = true
  license.workspace = true
  repository.workspace = true
  description = "..."

Side effects:
- Five crates that were stuck at 0.1.0 (sdk, admin, ui, app, examples)
  are now at 0.1.5, matching the rest of the workspace. These are all
  internal path-deps with no external version constraints, so the bump
  is purely cosmetic.
- All crates pick up `repository = "https://forge.ourworld.tf/lhumina_code/hero_books"`
  (previously only hero_books_lib_rhai had it explicitly).
- hero_books_lib_rhai picks up the `authors` field it was missing.

Verified: `cargo check --workspace` clean (one pre-existing unused-import
warning in hero_books_app, unrelated). Cargo.lock diff is exactly the
five 0.1.0 → 0.1.5 version bumps for the rebased crates.
mahmoud merged commit 65e775d5ca into development 2026-04-27 18:31:21 +00:00
mahmoud deleted branch development_workspace_package_inheritance 2026-04-27 18:31:25 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_books!111
No description provided.