Contributing to Astraio
Thank you for your interest in contributing to Astraio Client!
Prerequisites
- Rust — Install via rustup :
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh- Git — For version control
Getting Started
1. Fork & Clone
git clone https://github.com/YOUR_USERNAME/astraio-client.git
cd astraio-client2. Build
cargo build3. Run
cargo runDevelopment Workflow
- Create a feature branch:
git checkout -b feature/my-feature- Make your changes
- Test thoroughly
- Commit with clear messages
- Push and create a PR
Code Style
- Follow Rust conventions (
rustfmtandclippy) - Write meaningful variable/function names
- Add comments for complex logic
- Keep functions small and focused
Run Linting
cargo clippyFormat Code
cargo fmtCommit Messages
Use conventional commits:
feat: add WebSocket support
fix: resolve timeout issue
docs: update README
refactor: simplify request handlingPull Request Guidelines
- One feature per PR — Keep changes focused
- Write clear descriptions — Explain what and why
- Include screenshots — For UI changes
- Update documentation — If adding features
- Test on all platforms — macOS, Windows, Linux
Reporting Issues
- Use GitHub Issues
- Include steps to reproduce
- Provide OS and version info
- Attach screenshots if applicable
Questions?
Open a discussion on GitHub Discussions .
Last updated on