Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.17 KB

CONTRIBUTING.md

File metadata and controls

43 lines (28 loc) · 1.17 KB

Contributing to Lettre

The following guidelines are inspired by the hyper project.

Code formatting

All code must be formatted using rustfmt.

Commit Message Format

Each commit message consists of a header, a body and a footer. The header has a special format that includes a type, a scope and a subject:

<type>(<scope>): <subject> <BLANK LINE> <body> <BLANK LINE> <footer>

Any line of the commit message cannot be longer 72 characters.

type must be one of the following:

feat: A new feature
fix: A bug fix
docs: Documentation only changes
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
perf: A code change that improves performance

scope is the lettre part that is being touched. Examples:

email
transport-smtp
transport-file
transport
all

The body explains the change, and the footer contains relevant changelog notes and references to fixed issues.

Release process

Releases are made using cargo-release:

cargo release --dry-run 0.10.0 --prev-tag-name v0.9.2 -v