cargo-create

Crates.iocargo-create
lib.rscargo-create
version0.3.1
sourcesrc
created_at2020-07-21 16:30:52.437248
updated_at2020-08-24 00:35:54.311184
descriptionA CLI for fast project generation based on Tera templates.
homepage
repositoryhttps://github.com/SirWindfield/cargo-create
max_upload_size
id267683
size129,965
mainrs (mainrs)

documentation

https://jen.zerotask.net

README

jen (cargo-create)

Maintenance crates.io crates.io Documentation

Continuous Integration

A CLI for fast project generation based on Tera templates. Also a cargo subcommand :)

Installation

cargo install cargo-create --locked

The crate does install the CLI under two names: jen and cargo-create, allowing for a nicer Rust-related workflow.

Writing templates

The repository contains a book about writing custom templates. It is hosted here.

Examples

An example template repository can be found over at https://github.com/SirWindfield/template-test. For a more complex example take a look at the template branch of https://github.com/SirWindfield/zerotask-rust-bin-template/tree/template.

Note

The public API of the library crate is NOT meant for consumption. It is not stable in any way, may change any time and is not related to the semantic versioning of this repository. The crate type is a library to allow for multiple binaries to exist in one single place.

The semantic versioning does only apply to the overall CLI tool, aka the binaries itself and their public API.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt