Thanks for contributing!
- Rust toolchain
cargo-readme
(cargo install cargo-readme
)- GNU Make
- Docker or another Docker-compatible container
engine
- The docker command used by the Makefile can be specified with
DOCKER_COMMAND
, e.g.make DOCKER_COMMAND=containerd docker/redis
- The docker command used by the Makefile can be specified with
- Before committing changes, make sure to run
make fmt
to format the changes - Add an entry to the
CHANGELOG.md
file - The
README.md
is generated usingcargo-readme
from the crate level documentation insrc/lib.rs
. This means theREADME.md
should never be modified by hand. To sync changes made tosrc/lib.rs
, runmake docs
- The CI system will run all tests using
make ci
. Make sure to run all tests before submitting your pull request
# The goal used by the CI system
make ci
# Runs all examples
make examples
# Runs all tests
make tests
# Syncs all docs
make sync
# Formats the source code
make fmt
# Performs multiple checks (formatting, clippy and documentation sync)
make check
# Removes all generated artifacts, including docker containers
make clean
Pull Requests should be made against master. Travis CI will run the test suite on all PRs. Remember to update the changelog!