Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
cargo-generate
is a popular tool for generating projects from templates and significantly lowers the barrier to starting.This PR makes changes to support
cargo-generate
, enabling users to start a project with a single line:cargo generate --git https://github.com/emilk/eframe_template
The core changes are:
However, the bulk of changes are in order to update the github actions. The flow is as follows:
cargo-generate
Tangential changes to the actions:
actions-rs
actions are no longer maintained, so their usage has been removed. For rust toolchain, I'm usingdtolnay/rust-toolchain
action. Cargo commands are now just written out, instead of relying on an action.trunk
is installed usingcargo binstall
instead of usingwget