Skip to content

ci: bump rust client publish version#85

Merged
dev-jodee merged 1 commit into
mainfrom
ci/bump-rust-client-version
May 15, 2026
Merged

ci: bump rust client publish version#85
dev-jodee merged 1 commit into
mainfrom
ci/bump-rust-client-version

Conversation

@dev-jodee
Copy link
Copy Markdown
Collaborator

Summary

  • Bump the Rust client crate subscriptions to 0.1.1 because 0.1.0 already exists on crates.io
  • Read the subscriptions package version explicitly in the Rust publish workflow instead of relying on Cargo metadata package order
  • Add an early crates.io availability check so already-published versions fail before trusted publishing auth/publish

Test Plan

  • cargo check -p subscriptions --locked
  • cargo publish --dry-run --locked --allow-dirty from clients/rust
  • pnpm exec prettier --check .github/workflows/publish-rust.yml
  • YAML parse check for .github/workflows/publish-rust.yml
  • pre-push hook: format check and lint check

Publish Rust client v0.1.1 because subscriptions v0.1.0 already exists on crates.io. Read the subscriptions crate version explicitly and fail early when the target version is already published.
@github-actions
Copy link
Copy Markdown

Compute Unit Report

Instruction Samples Min CUs Max CUs Avg CUs Est Cost (Low) [SOL] Est Cost (Med) [SOL] Est Cost (High) [SOL]
cancel_subscription 11 1805 2118 2003 0.000005000 0.000005080 0.000006001
close_subscription_authority 7 1881 1916 1886 0.000005000 0.000005075 0.000005943
create_fixed_delegation 38 3616 11121 4953 0.000005001 0.000005198 0.000007476
create_plan 84 3540 18553 5043 0.000005001 0.000005201 0.000007521
create_recurring_delegation 27 3643 9645 4980 0.000005001 0.000005199 0.000007490
delete_plan 8 416 416 416 0.000005000 0.000005016 0.000005208
init_subscription_authority 142 7431 19851 12057 0.000005003 0.000005482 0.000011028
revoke_delegation 19 318 585 420 0.000005000 0.000005016 0.000005210
subscribe 21 6666 14190 8890 0.000005002 0.000005355 0.000009445
transfer_fixed 6 10102 13105 11104 0.000005003 0.000005444 0.000010552
transfer_recurring 17 10212 17712 11572 0.000005003 0.000005462 0.000010786
transfer_subscription 10 10446 13586 11700 0.000005003 0.000005468 0.000010850
update_plan 21 424 500 474 0.000005000 0.000005018 0.000005237

Generated: 2026-05-15

@dev-jodee dev-jodee merged commit 0d4524a into main May 15, 2026
8 checks passed
@dev-jodee dev-jodee deleted the ci/bump-rust-client-version branch May 15, 2026 16:09
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