Rust Library Template
A template for cargo generate that aims to be a good starting point for Rust libraries that will be hosted on GitHub.
Forked from rust-github with inspiration from opinionated-rust-template.
Usage
First install cargo-generate
:
cargo install cargo-generate
Then generate a new project with this template:
cargo generate bkonkle/rust-library-template
Includes
- pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
- cargo-nextest - A next-generation test runner for Rust.
- cargo-spellcheck - Check your spelling with
hunspell
and/ornlprule
. - cargo-llvm-cov - About Cargo subcommand to easily use LLVM source-based code coverage (-C instrument-coverage).
- cargo-audit - Audit Cargo.lock files for crates with security vulnerabilities reported to the RustSec Advisory Database.