https://github.com/daxartio/rust-project-template
Template for a generic rust project hosted on GitHub
https://github.com/daxartio/rust-project-template
cargo-generate rust template
Last synced: 8 months ago
JSON representation
Template for a generic rust project hosted on GitHub
- Host: GitHub
- URL: https://github.com/daxartio/rust-project-template
- Owner: daxartio
- License: apache-2.0
- Created: 2022-08-25T21:48:24.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-03T07:28:45.000Z (over 1 year ago)
- Last Synced: 2025-03-28T20:11:14.282Z (about 1 year ago)
- Topics: cargo-generate, rust, template
- Language: Rust
- Homepage:
- Size: 43.9 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust Project Template
## Features
- [x] MIT/Apache License
- [x] Github Actions
- [x] Audit
- [x] Publish a project to crates.io
- [x] CI: check, test, lints
- [x] Publish a book
- [x] Build a project for windows/macos/linux
- [x] Github release
- [x] Github Pages
- [x] mdBook
## Quickstart
### Installation
Install [cargo-generate](https://github.com/cargo-generate/cargo-generate)
```
cargo install cargo-generate
```
### Usage
```
cargo generate daxartio/rust-project-template
```
1. Generate an API token, see https://crates.io/settings/tokens
2. Add the token to https://github.com/username/your-project/settings/secrets/actions
- CARGO_REGISTRY_TOKEN `token`
## Contributing
```
git clone ...
make
```