-
✨ Features
-
Support templates that use git submodules - k0pernicus, issue/83 pull/104
We now support templates that use git submodules! Yay!
-
Binary Releases for Linux, MacOS, and Windows - ashleygwilliams, issue/99 pull/111 pull/112
Motivated by a desire to more easily distributed the project - we now build binaries
for our releases. No more waiting for compilation! You can just download and go! -
Allow Liquid Templating
date
filter - ashleygwilliams, issue/70 pull/106By request, we've turned on the
date
filter for our templates. Now you can add
nicely formatted dates to your projects! For more information, check out the
Liquiddate
filter documentation. -
Add
.genignore
, ability to ignore files - DD5HT, issue/82 pull/96You can now add a
.genignore
file to your template. This file will specify the files
to be "cleaned up" or "removed" from the template once it has been cloned to the user's
local machine. -
Add
--branch
for specifying a branch - posborne, issue/71 pull/94We originally had no way to specify a git template on a per branch basis, opting to
only support the primary branch. Now you can specify a branch:cargo generate --git <gitURL> --branch <branchname>
-
Warn user if we change project name casing - k0pernicus, issue/65 pull/84
cargo-generate
will automagically "fix" the casing of your project name to
match Cargo standards. If we end up changing the name you provide- we'll warn
to let you know! -
Add
--force
flag to skip casing check on project name - toVersus, issue/66 pull/69cargo-generate
will automagically "fix" the casing of your project name to
match Cargo standards. If you'd like to skip that, you can add--force
. -
List of available templates - ashleygwilliams, issue/74 issue/50 pull/75
We are now keeping a running list of templates that are available to use with
cargo-generate
. Please add more! -
Add short command
cargo gen
- DD5HT, issue/53 pull/72You can now use
cargo gen
as a short command forcargo generate
. -
🛠️ Maintenance
-
Fixed some clippy warnings - 4tm4j33tk4ur, pull/109
-
Test safety of
.genignore
- ashleygwilliams, issue/97 pull/98 -
cargo update
and updatecargo fmt
call - ashleygwilliams, issue/86 pull/88 -
Test project name casing - ashleygwilliams, issue/63 pull/64
-
-