rust-template-example
An example showcasing the usage of https://github.com/PRO-2684/rust-template.
⚙️ Automatic Releases Setup
-
Create a new GitHub repository with the name
rust-template-exampleand push this generated project to it. -
Enable Actions for the repository, and grant "Read and write permissions" to the workflow here.
-
Generate an API token on crates.io, with the following setup:
Name:rust-template-exampleExpiration:No expirationScopes:publish-new,publish-updateCrates:rust-template-example
-
Add a repository secret named
CARGO_TOKENwith the generated token as its value. -
Consider removing this section and updating this README with your own project information.
Trusted Publishing is a recent feature added to crates.io. To utilize it, first make sure you've already successfully published the crate to crates.io. Then, follow these steps:
- Add a new trusted publisher to your crate.
- Set "Workflow filename" to
release.yml. - Keep other fields intact.
- Click "Add".
- Set "Workflow filename" to
- Modify
release.yml.- Comment out or remove the
publish-releasejob. - Un-comment the
trusted-publishingjob.
- Comment out or remove the
- Remove the
CARGO_TOKENrepository secret.
📥 Installation
Using binstall
cargo binstall rust-template-example
Downloading from Releases
Navigate to the Releases page and download respective binary for your platform. Make sure to give it execute permissions.
Compiling from Source
cargo install rust-template-example
💡 Examples
TODO
📖 Usage
TODO
🎉 Credits
TODO