ποΈ A streamlined boilerplate template to kickstart your Rust API client wrappers (also known as SDKs).
This repository is a template to jumpstart your Rust development for API client wrappers.
It provides a solid foundation with preconfigured project structure, CI integration, and helper scripts.
π§ What's included?
- π¦ A ready-to-use Cargo.toml with project placeholders.
- π οΈ Scripts for quick automated setup (Windows & Linux/Mac).
- β
AppVeyor CI pipeline configuration.
π‘ AppVeyor is free for open-source projects. For private repositories, you can use alternatives like GitHub Actions, CircleCI, or Azure DevOps.
- π Clean project layout with room for source code and documentation.
π§ Now supported for Windows, Linux, and Mac environments!
- Click the green "Use this template" button at the top.
- Name your new repository and clone it to your machine.
- Run the setup script based on your OS:
- πͺ On Windows: Execute
initial-setup.bat
orinitial-setup.ps1
- π§ On Linux/Mac: Execute
initial-setup.sh
- πͺ On Windows: Execute
- Follow the on-screen instructions and get started in seconds! π
Would you prefer to do it step-by-step? No problem!
- Click the green "Use this template" button.
- Clone your newly created repository to your machine.
- Clean up:
- Delete this file (
README.md
) and renameREADME.template.md
toREADME.md
.
- Delete this file (
- Update the placeholders:
- AppVeyor CI: Edit
appveyor.yml
with your secure tokens or configure a different CI tool (GitHub Actions, CircleCI, Azure Pipelines). - Cargo.toml: Update the package name, version, and other metadata.
- Badges: Fix all {username}/{repo} paths in
README.md
.
- AppVeyor CI: Edit
- Add usage instructions for your API client in
README.md
. - Update
_config.yml
for GitHub Pages documentation (if needed).
π¦ your-project-name
βββ Cargo.toml # Project metadata and dependencies
βββ README.md # Your main documentation
βββ appveyor.yml # AppVeyor CI configuration
βββ Src/ # Place your API client code here
βββ Tests/ # Add unit and integration tests here
βββ _config.yml # Optional GitHub Pages configuration
π Licensed under the MIT License.
This means you are free to use, modify, and distribute the code with attribution.
π View LICENSE | Learn about MIT
π Feel free to replace this with any license that best suits your project!
π¬ Got ideas? Found an issue? Open an issue or contribute with a pull request!
Donβt forget to β star this repository if it helped save you time. π
π¦ Happy Coding in Rust! π―