#semantic #commit #cargo #create #semver #commit-message #minor

bin+lib cargo-semantic-release

Plugin for Cargo to create semantic release

3 releases (1 stable)

new 1.0.0 Mar 3, 2025
0.2.0 Feb 17, 2025
0.1.0 Jan 8, 2025

#292 in Cargo plugins

Download history 118/week @ 2025-01-06 6/week @ 2025-01-13 9/week @ 2025-02-03 42/week @ 2025-02-17

51 downloads per month

Custom license

31KB
653 lines

Cargo Semantic Release

pre-commit.ci status cargo test status Gitmoji

This project aims to create a Cargo plugin that creates semantic releases for Rust projects.

Goals

  • It can be installed as a Cargo plugin
  • Works with Gitmoji commit messages
  • Follows Semantic Versioning guidelines

Installation

If you don't have, install the Rust toolchain.

Install the tool with Cargo with the following command.

cargo install cargo-semantic-release

This will globally install the cargo-semantic-release binary.

Usage

You can run the tool in the directory of your choice via Cargo with the following command.

cargo semantic-release

This will print out the major, minor, patch related changes and the other changes. Also, it will indicate the recommended action for the semantic version.

Library

The utility functions for the binary are available in a library crate.

Dependencies

~11MB
~251K SLoC