chore: prepare core crates for crates.io publishing#198
Merged
Conversation
02a6e21 to
483fb28
Compare
- Add license and repository to [workspace.package] - Add crates.io metadata (description, license, repository, keywords, categories) to hiroz-cdr, hiroz-derive, hiroz-schema, hiroz-codegen, and hiroz - Fix category slug: robotics -> science::robotics - Add version = "0.1.0" to all workspace member deps (crates.io rejects path-only and wildcard deps) - Add hiroz-derive to [workspace.dependencies] - Mark tool/app crates publish = false (hiroz-console, hiroz-bridge, hiroz-py, hiroz-msgs, rmw-zenoh-rs) - Add build.rs to hiroz-codegen include list (required for cfg(ros_humble)) - Add [package.metadata.docs.rs] to hiroz (jazzy + dynamic-schema-loader) - Add publish-crates job to release.yml using OIDC trusted publishing
483fb28 to
b455539
Compare
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.
Summary
license,repositoryto[workspace.package]; all core crates inherit via.workspace = truedescription,keywords,categories) tohiroz-cdr,hiroz-derive,hiroz-schema,hiroz-codegen, andhirozrobotics→science::roboticsversion = "0.1.0"to all workspace member deps (crates.io rejects path-only and wildcard*deps)hiroz-deriveto[workspace.dependencies]publish = false:hiroz-console,hiroz-bridge,hiroz-py,hiroz-msgs,rmw-zenoh-rsbuild.rstohiroz-codegen'sincludelist (required so downstream users getcfg(ros_humble)detection)[package.metadata.docs.rs]tohirozwithfeatures = ["jazzy", "rmw-zenoh", "dynamic-schema-loader"]publish-cratesjob torelease.yml: runs aftersmoke-test-release-install, uses OIDC trusted publishing, callscargo publish --workspaceKey Changes
cargo publish --workspace --dry-runpasses for all six core crates0.1.0(first publish done manually)Breaking Changes
None