#guidelines #semantic-release #goal

bin+lib cargo-semantic-release

Plugin for Cargo to create semantic release

3 releases (1 stable)

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

#229 in Cargo plugins

Download history 124/week @ 2025-01-08 9/week @ 2025-02-05 96/week @ 2025-02-12 28/week @ 2025-02-19 125/week @ 2025-02-26 41/week @ 2025-03-05 7/week @ 2025-03-12

251 downloads per month

MIT license

1.5MB
975 lines

Contains (ELF exe/lib, 4MB) artifacts/cargo-semantic-release

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

~14–25MB
~448K SLoC