{"id":13405803,"url":"https://github.com/cargo-generate/cargo-generate","last_synced_at":"2025-05-14T22:06:50.027Z","repository":{"id":37002592,"uuid":"135293548","full_name":"cargo-generate/cargo-generate","owner":"cargo-generate","description":"cargo, make me a project","archived":false,"fork":false,"pushed_at":"2025-05-05T20:36:58.000Z","size":4573,"stargazers_count":2141,"open_issues_count":47,"forks_count":175,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-07T21:59:37.517Z","etag":null,"topics":["cargo","cargo-generate","liquid","placeholders","rust","template-generator","template-project"],"latest_commit_sha":null,"homepage":"https://cargo-generate.github.io/cargo-generate","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cargo-generate.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"sassman"}},"created_at":"2018-05-29T12:35:37.000Z","updated_at":"2025-05-07T14:57:56.000Z","dependencies_parsed_at":"2023-01-17T12:26:37.725Z","dependency_job_id":"327f791a-5143-4bf9-8065-dfcdc37aaadc","html_url":"https://github.com/cargo-generate/cargo-generate","commit_stats":{"total_commits":831,"total_committers":102,"mean_commits":8.147058823529411,"dds":0.7376654632972323,"last_synced_commit":"483c89fd2234056f28bf84f05c6f8ac890e23a7c"},"previous_names":["ashleygwilliams/cargo-generate"],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cargo-generate%2Fcargo-generate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cargo-generate%2Fcargo-generate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cargo-generate%2Fcargo-generate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cargo-generate%2Fcargo-generate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cargo-generate","download_url":"https://codeload.github.com/cargo-generate/cargo-generate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235695,"owners_count":22036963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo","cargo-generate","liquid","placeholders","rust","template-generator","template-project"],"created_at":"2024-07-30T19:02:12.234Z","updated_at":"2025-05-14T22:06:45.012Z","avatar_url":"https://github.com/cargo-generate.png","language":"Rust","funding_links":["https://github.com/sponsors/sassman"],"categories":["Rust","Development tools","开发工具 Development tools","rust","虚拟化"],"sub_categories":["Build system","构建系统 Build system","构建系统"],"readme":"\u003cdiv align=\"center\"\u003e\n\n# cargo-generate\n\n\u003cimg src=\"https://github.com/cargo-generate/cargo-generate/raw/52be603bab5329b0ba90a19cafd58973f8781fa7/resources/logo.png\" width=\"256\"\u003e\n\n\n[![Build status](https://github.com/cargo-generate/cargo-generate/workflows/Build/badge.svg)](https://github.com/cargo-generate/cargo-generate/actions?query=workflow%3ABuild+branch%3Amain+)\n[![crates.io](https://img.shields.io/crates/v/cargo-generate.svg)](https://crates.io/crates/cargo-generate)\n[![dependency status](https://deps.rs/repo/github/cargo-generate/cargo-generate/status.svg)](https://deps.rs/repo/github/cargo-generate/cargo-generate)\n[![Chat on Matrix](https://img.shields.io/matrix/cargo-generate:matrix.org?server_fqdn=matrix.org)](https://matrix.to/#/#cargo-generate:matrix.org)\n\n\u003c/div\u003e\n\n\u003e cargo, make me a project\n\n`cargo-generate` is a developer tool to help you get up and running quickly with a new Rust\nproject by leveraging a pre-existing git repository as a template.\n\nHere's an example of using `cargo-generate` with [this template]:\n![demo.gif](./demo.gif)\n\n[this template]: https://github.com/rustwasm/wasm-pack-template\n\n## Documentation\n\nSee the `cargo-generate` [guide](https://cargo-generate.github.io/cargo-generate/index.html) for complete documentation.\n\n## Templates\n\nOne place to find templates is to look for the [cargo-generate topic](https://github.com/topics/cargo-generate) on\nGitHub.\n\n## Quickstart\n\n### Installation\n\n```sh\ncargo install cargo-generate\n```\n\nor if you have [no time, use cargo-binstall](https://github.com/cargo-bins/cargo-binstall):\n\n```sh\ncargo binstall cargo-generate\n```\n\n### Usage\n\n```sh\n# templates on github\ncargo generate --git https://github.com/username-on-github/mytemplate.git\n\n# or just\ncargo generate username-on-github/mytemplate\n\n# templates on other git platforms\ncargo generate gl:username-on-gitlab/mytemplate # translates to https://gitlab.com/username-on-gitlab/mytemplate.git\ncargo generate bb:username-on-bitbucket/mytemplate # translates to https://bitbucket.org/username-on-bitbucket/mytemplate.git\ncargo generate sr:username-on-sourcehut/mytemplate # translates to https://git.sr.ht/~username-on-sourcehut/mytemplate (note the tilde)\n\n# this scheme is also available for github\ncargo generate gh:username-on-github/mytemplate # translates to https://github.com/username-on-github/mytemplate.git\n\n# for a complete list of arguments and options\ncargo help generate\n```\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE)\n  or [apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0))\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or [opensource.org/licenses/MIT](https://opensource.org/licenses/MIT))\n\nat your option.\n\n### Contributions\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\nIf you want to contribute to `cargo-generate`, please read our [CONTRIBUTING notes].\n\ncargo-generate would not be what it is today without the wonderful contributions from the community. Thank\nyou!\n\n\u003ca href=\"https://github.com/cargo-generate/cargo-generate/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=cargo-generate/cargo-generate\" /\u003e\n\u003c/a\u003e\n\n[CONTRIBUTING notes]: CONTRIBUTING.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcargo-generate%2Fcargo-generate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcargo-generate%2Fcargo-generate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcargo-generate%2Fcargo-generate/lists"}