#commit

emoji-commit-type

The different commit types used in the emoji committer

2 releases

Uses old Rust 2015

0.1.1 May 21, 2018
0.1.0 Nov 13, 2016

#144 in #commit

36 downloads per month
Used in 2 crates

MIT license

10KB
180 lines

Emoji Commit Type

An enum for the different commit types the emoji committer uses.

Usage

extern crate emoji_commit_type;

use emoji_commit_type::CommitType;

fn main() {
    println!("The emoji commit types are:");

    for commit_type in CommitType::iter_variants() {
        println!("{}  - {}", commit_type.emoji(), commit_type.description());
    }
}

No runtime deps