Skip to content

Questions regarding the template project #66

Answered by bjoernQ
yanshay asked this question in Q&A
Discussion options

You must be logged in to vote

We recently replaced the cargo-generate template with this approach since it's more flexible and user-friendly - we already can imagine adding a few interesting things in future

  1. Main reason for this is to make it easier for us to maintain the template. For users it could make things easier if they want to split their code into a library and the actual binary or have multiple binaries but honestly that wasn't the real reason
  2. We already did that with esp-template: https://github.com/esp-rs/esp-template/blob/d0217ac27edd1cde58189a02cfe110fb9b621bd8/build.rs#L2 - I really have no opinion on that since both, the config.toml and the build.rs approach do the same thing

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SergioGasquez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants