Skip to content

gibbz00/basic-things

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5f9aa29 · Mar 10, 2025
Mar 9, 2025
Aug 17, 2024
Oct 5, 2024
Dec 11, 2024
Aug 17, 2024
Oct 7, 2024
Aug 17, 2024
Aug 17, 2024
Aug 18, 2024
Mar 10, 2025
Mar 3, 2025
Mar 3, 2025
Aug 18, 2024
Oct 6, 2024
Oct 5, 2024
Aug 18, 2024
Aug 18, 2024
Oct 5, 2024
Mar 8, 2025
Oct 5, 2024
Aug 17, 2024
Aug 17, 2024
Aug 17, 2024

Repository files navigation

Basic Things

Project template for Rust based projects hosted on Github. Essentially matklad's Basic Things in action. A generated example with the majority of the features enabled can be found over at basic-things-demo.

Getting started

Create an empty GitHub repository and install cargo-generate before running:

cargo generate gibbz00/basic-things

CI may expect the presence of both CODECOV_TOKEN and CARGO_REGISTRY_TOKEN.

(Reference for template values may be found in ./cargo_generate/values.toml.)

Integrated tools

  • git-cliff - Automated changelog generation by the usage of conventional commits.
  • mdbook - Optionally enabled to create user focused documentation.
  • codecov - Optionally enabled for code coverage uploads and analysis.
  • pre-commit - Optionally enabled for quicker validations before committing.

Project aims to provide a comprehensive continuous integration and delivery pipeline. This includes running CI jobs using:

Pipeline will also executes tests with cargo, mdbook (if enabled), and cargo llvm-cod for code coverage reporting.

Release pipeline publishes the crates to crates.io and the book to GitHub Pages.

Proposed improvements

  • Add support for other Git hosts other than GitHub, e.g Gitea and GitLab.
  • Make most features opt-in.
  • Cocogitto conventional commit checking in pre-commit commit-msg hook.
  • Automated releases with release-plz?