🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

semantic-release-cargo

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semantic-release-cargo

semantic release plugin to deploy crates to cargo.io (or other registries)

latest
npmnpm
Version
2.4.1
Version published
Maintainers
0
Created
Source

semantic release cargo

Semantic release plugin to publish cargo packages. Login with a cargo.io registry token and publish your crate.

Configuration

Environment

  • CARGO_REGISTRY_TOKEN: required token that is used to login against crates.io.
    This is not required or verified if both the publish and alwaysVerifyToken options are false.

Options

  • allFeatures: Boolean that attaches --all-features to the cargo commands (defaults to false)
  • check: Boolean that defines if cargo check is executed (defaults to true)
  • checkArgs: Array of strings that contains additional arguments for cargo check
  • publish: Boolean that defines if cargo publish is executed (defaults to true)
  • publishArgs: Array of strings that contains additional arguments for cargo publish
  • alwaysVerifyToken: Boolean that causes CARGO_REGISTRY_TOKEN verification to be skipped if both it and publish are false (defaults to true)

Full Configuration Example

// .releaserc.json example
{
  "plugins": [
    [
      "semantic-release-cargo",
      {
        "allFeatures": true,
        "check": true,
        "checkArgs": ["--no-deps"],
        "publish": true,
        "publishArgs": ["--no-verify"]
      }
    ]
  ]
}

Keywords

semantic-release

FAQs

Package last updated on 05 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts