git-cliff
strum
Our great sponsors
git-cliff | strum | |
---|---|---|
33 | 19 | |
7,609 | 1,570 | |
- | - | |
9.7 | 8.0 | |
4 days ago | 11 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
git-cliff
-
Getting Started with CLI tools in Rust using Clap
git-cliff is a terminal tool that can generate changelog from the Git history by using conventional commits, as well as by using regex-powered parsers and you can even change the changelog template itself by using a configuration file. This tool is a great example of text parsing on the terminal and also uses clap_mangen which generates man pages. Useful for anyone who is serious about looking into making a production-ready terminal tool!
- Adding GitHub integration to git-cliff (need opinions/comments)
-
Auto-Generated Customer-Friendly Changelogs
Solutions exist for this. Our company does this with git-cliff. Using conventional commits, any commit labeled with the subject "www" will appear in our public changelog.
-
changelog-gh-usernames: A tool to replace emails in changelogs with GitHub usernames
This was primarily aimed to work with git-cliff to generate changelogs for GitHub releases, since tagging contributors would include them as contributors for the release, while also ensuring structured changelogs thanks to git-cliff. As of now, it requires a few extra steps to get it working with git-cliff, but the integration should be much better once the PR for post-processors is merged.
- git-cliff is being re-licensed under the MIT & Apache 2.0
- Hey everyone, exciting news! Git-Cliff just dropped version 1.0.0! Who else is psyched to try it out? Let's hear your thoughts in the comments! 🚀🎉
- git-cliff 1.2.0 is released! (highly customizable changelog generator)
- Hey guys, exciting news! We just released git-cliff v1.0.0! This tool is gonna make your Git experience even better. Make sure to give it a try and let us know your thoughts in the comments. Happy coding! 🚀👨🏻💻👩🏻💻
-
A new open-sourcing project launches!!! A declarative, compose-based and cross-platform GUI
It's the first time I see someone combining gitmoji with conventional commits (I use the later now for all my project, to generate my changelogs automatically with with git-cliff.)
- GitHub - orhun/git-cliff: A highly customizable Changelog Generator that follows Conventional Commit specifications ⛰️
strum
-
What are some common verbose code patterns in rust and unique ways to reduce the said verbosity?
Take a look at the strum crate. https://crates.io/crates/strum
-
Published my first Crate today to map Environment Variables to Enums
I would be use something like https://github.com/Peternator7/strum if I need map string to enum and serde is not the option.
-
Two-way alternative to enum_kinds crate?
Looks like proper support for this in strum has been proposed.
-
Best way of associating enums with values?
This crate can generate an iterator for you using a macro https://github.com/Peternator7/strum
-
Hey Rustaceans! Got a question? Ask here (4/2023)!
The strum crate is also good for removing this kind of boilerplate, and worth checking out!
-
What are some less popular but well-made crates you'd like others to know about?
strum is among my favorite crates to recommend. Favorites of this crate include EnumProperty and EnumIter
-
What's everyone working on this week (45/2022)?
I released my first crate that provides a derive macro to easily obtain a name of a current variant in an enum as a string. I did it mostly to learn about procedural macros and the process of releasing a crate. I then found out there is strum which does this and much more. Nonetheless, I learned a lot and I found couple of nice tools like ```cargo-release and git-cliff.
-
Hey Rustaceans! Got a question? Ask here! (33/2022)!
I used https://crates.io/crates/strum to iterate over the enum variants, otherwise you'd have to hardcode the list of variants and wouldn't gain anything.
-
Questions about enums
If you chose to go with the "derive a trait" route the strum crate might be what you're looking for. It lets you use derive to add information about variant count, discriminants or even iterators over variants to an enum.
-
Match enum with String
You might want something like strum
What are some alternatives?
conventional-changelog - Generate changelogs and release notes from a project's commit messages and metadata.
enum-map
cocogitto - The Conventional Commits toolbox
serde-plain - A serde serializer that serializes a subset of types into plain strings
git-cliff-action - GitHub action to generate a changelog based on the Git history
enum-iterator - Tools to iterate over all values of a type
changie - Automated changelog tool for preparing releases with lots of customization options
rust-djangohashers - A Rust port of the password primitives used in Django Project.
cargo-update - A cargo subcommand for checking and applying updates to installed executables
sonyflake-rs - 🃏 A distributed unique ID generator inspired by Twitter's Snowflake.
GitHub Changelog Generator - Automatically generate change log from your tags, issues, labels and pull requests on GitHub.
goblin - An impish, cross-platform binary parsing crate, written in Rust