🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

semantic-release-cargo

Package Overview
Dependencies
Maintainers
1
Versions
42
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)

npmnpm
Version
2.3.19
Version published
Maintainers
1
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

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

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 20 May 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