An open API service indexing awesome lists of open source software.

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

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
```