Skip to content

[CI] Integrated with cargo trusted publishing, release-plz #1035

Closed

Description

@jlizen

Crates.io now supports trusted publishing: https://crates.io/docs/trusted-publishing

We should use it as it no longer involves generating api tokens that are individually owned. Better to deploy via CI using repo trust relationship. It also gives our users confidence that what is in crates.io is what is in github.

We probably should use release-plz rather than the naked cargo publish mentioned in the crates.io doc.

Release-plz:
https://github.com/release-plz/release-plz

Sample usage:
https://github.com/async-profiler/rust-agent/blob/main/.github/workflows/release.yml

Activity

  1. bnusunny commented on Aug 27, 2025

    @bnusunny
    Collaborator

    Agreed

  2. jlizen commented on Nov 17, 2025

    @jlizen
    MemberAuthor
  3. ghost
    self-assigned this
    on Nov 18, 2025
  4. GradExMachina commented on Jan 14, 2026

    @GradExMachina
    Collaborator

    Closing as completed via #1083

  5. github-actions commented on Jan 14, 2026

    @github-actions

    This issue is now closed. Comments on closed issues are hard for our team to see.
    If you need more assistance, please either tag a team member or open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions