# cargo-generate/cargo-generate

cargo, make me a project

Repository: https://github.com/cargo-generate/cargo-generate
Canonical: https://ross.abutalabs.com/products/cargo-generate
Homepage: https://cargo-generate.github.io/cargo-generate
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: cargo, liquid, placeholders, template-project, template-generator, cargo-generate, rust
Last push: 2026-08-25T22:26:45+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 94, longevity 100
- inputs: {"age_days": 3018, "days_push": 8, "days_rel": 41, "gap_med": 21, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2482, forks 207 (observed 2026-08-28T04:06:55.336798+00:00)

## What it is
cargo-generate is a Rust CLI tool (a cargo subcommand) that scaffolds new Rust projects from existing git repositories used as templates. It uses Shopify's Liquid templating language, Rhai hook scripts, and regex placeholders to customize generated projects.

## Use cases
- scaffold a new rust project from a template
- generate a project from a github template repository
- create a wasm-pack project quickly
- bootstrap rust projects with placeholders
- make a cargo project from a git template

## When to choose
- you frequently start new Rust projects from a standard structure
- you maintain project templates and want placeholder substitution and hook scripts
- you want templates hosted on GitHub, GitLab, Bitbucket, or Sourcehut

## When to avoid
- you need scaffolding for non-Rust languages
- you want a fully interactive GUI project wizard
- you only need a one-off project without reusable templates

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, boilerplate, templating, build-tool
- domain: developer-tools
- platform: cli, cross-platform, rust
- tags: project-scaffolding, cargo-subcommand, liquid-templates, git-templates, rust-project-generator, command-line, rust, automation

## Member repositories
- cargo-generate/cargo-generate (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:55.336798+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:28:07.847538+00:00, confidence not recorded.
  - readme: https://github.com/cargo-generate/cargo-generate (fetched 2026-08-28T04:06:55.336798+00:00, sha 9c96823e8c7c)
  - homepage: https://cargo-generate.github.io/cargo-generate (fetched 2026-08-29T10:10:01.640060+00:00, sha 3afc2029e676)
  - registry_crates: https://crates.io/api/v1/crates/cargo-generate (fetched 2026-08-29T10:10:01.643665+00:00, sha 270aeb49658a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
