Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amy-keibler/rust-kickstart-template
https://github.com/amy-keibler/rust-kickstart-template
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/amy-keibler/rust-kickstart-template
- Owner: amy-keibler
- Created: 2021-11-07T22:53:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-02T20:01:32.000Z (11 months ago)
- Last Synced: 2024-01-03T20:43:49.242Z (11 months ago)
- Language: Nix
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust Starter Kickstart Template
This is a [kickstart](https://github.com/Keats/kickstart) template for building a Rust application.
## Variables
### `project_name`
The name of the project in lowercase snake case form. This is used in the Cargo.toml file and flake file.
### `project_description`
The short description of the purpose of the project. This is used in the Cargo.toml file and the flake file.
### `application_type`
The intended purpose of the application. Currently, this supports a `cli`, which includes `clap` as a dependency and `empty`, which does not include an prescribed structure or dependencies.
### `license`
The license of the project. Currently supports the [Be Gay, Do Crime](https://twitter.com/scanlime/status/1304825753029107712) license and a dual-license of [MIT](https://mit-license.org/) and/or [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.html).
### `include_github_actions_ci`
If `true`, this will include a [Dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts#github-dependabot-alerts-for-vulnerable-dependencies) configuration and a GitHub Action workflow that runs `nix build` and `nix flake check` on pull requests and pushes to the `main` branch.
### `add_sbom`
If `true`, adds a default configuration to the `Cargo.toml` file to be used with [`cargo-cyclonedx`](https://crates.io/crates/cargo-cyclonedx). This configures the output SBOM file created when running `cargo cyclonedx`.