By Jonathan A. McCormick, Jr.
This repository contains a personal standard setup for new Rust projects. It includes commonly used configurations, dependencies, and project structure that I prefer to use when starting a new Rust project.
- Enforces safe coding practices by forbidding unsafe code.
- Utilizes popular crates like
serdefor serialization and deserialization, andstatic_assertionsfor compile-time assertions on auto-traits. - Provides a basic example struct with commonly derived traits.
- List of common commands for building, testing, and formatting the project. See commands.md for more details.
To use this setup for your new Rust project, simply clone this repository and modify it according to your project's requirements, or browse through the code and cherry-pick the parts you find useful.
This project is released into the public domain. See the LICENSE file for more details.