✨ Features
-
enable paging for long choice lists
improving the handling of very long choice lists long
see #400, by @taurr -
template parsing: handle undefined variables gracefully
Undefined template variables do not cause any breaking of the template generation any longer. They will be kept as they are.
-
TEMPLATES.md: link to cargo-generate topic
Template repos should be tagged with the
cargo-generate
GitHub topic, read more..by @MarcoIeni,
#407
by @sassman -
a template can now be generated into the current dir, without a git init or anything, read more..
-
Allow version requirement in
cargo-generate.toml
a template can now define the compatible cargo generate version number requirement as a requirement, read more..
see #76,
by @taurr -
Allow cargo-generate.toml as alternative to cargo-generate.,
by @taurr -
fix(tests:linux): use the current directory for canonicalize result,
by @orhun -
supporting now local folders (that are not under git) as templates via
--path <local-folder>
-
Allow specification of default template values
default values for template variables can now be defined on several levels, external file, in the favorites configuration and via environment variables, read more..
-
template variables in Directories,
#396supporting now template variables as directory names like
{{project_name}}/{{project_name}}.rs
by dave-tucker
and #395
by @taurr -
Allow
--define
to specify values
#389command line argument
--define
to define template variablesby @taurr
🛠️ Maintenance
- chore(deps): bump openssl from 0.10.35 to 0.10.36
- README: improve cargo_generate_version example
- ci: add documentation check
- fix additional clippy lints
- Fix typo in README.md
- Only use cross for linux prebuilt binaries
- chore(deps): bump anyhow from 1.0.42 to 1.0.43
- chore(deps): bump predicates from 2.0.1 to 2.0.2
- chore(deps): bump git2 from 0.13.20 to 0.13.21
- chore(deps): bump cargo from 0.54.0 to 0.55.0
- chore(deps): bump assert_cmd from 1.0.7 to 1.0.8
- chore(deps): bump assert_cmd from 1.0.8 to 2.0.0