Thank you for your interest in contributing to jwt-hack! This document provides guidelines and instructions for contributing to this project.
By participating in this project, you agree to abide by our Code of Conduct.
- Rust and Cargo installed (latest stable version recommended)
- Git
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR-USERNAME/jwt-hack.git cd jwt-hack - Create a branch for your work:
git checkout -b features/your-feature-name # or git checkout -b bugfix/issue-description
To build the project:
cargo buildTo run tests:
cargo testWe use a straightforward branching strategy where feature and bugfix branches are merged directly into the main branch:
features/feature-name→main: For new features and enhancementsbugfix/issue-description→main: For bug fixes
Please follow this naming convention for your branches to make the purpose of your contribution clear.
-
Create your pull request:
- Ensure your code builds without errors
- Make sure all tests pass
- Update documentation if needed
- Include clear and concise commit messages
- Reference any related issues with
#issue-number
-
PR Description:
- Provide a clear description of the changes
- Include the motivation for the change
- Describe any potential side effects or areas that might be affected
- Add screenshots if your change affects the UI
-
Code Review:
- The maintainers will review your code
- Be responsive to feedback and make necessary changes
- Your PR will be merged once it meets the project standards
- Follow the Rust API Guidelines
- Use
cargo fmtto format your code before committing - Run
cargo clippyand address any warnings
- Use clear, concise commit messages
- Start with a verb in the present tense (e.g., "Add feature" not "Added feature")
- Reference issue numbers when applicable (e.g., "Fix #123: Memory leak in URL parser")
- Update the README.md if you add or change functionality
- Add comments to your code where necessary
- Document any new public APIs
- Use GitHub Issues to submit feature requests and bug reports
- Clearly describe the issue or feature
- For bugs, include steps to reproduce, expected behavior, and actual behavior
- If possible, provide a minimal code example that demonstrates the issue
By contributing to jwt-hack, you agree that your contributions will be licensed under the same MIT License that covers the project.
Thank you for contributing to jwt-hack! Your efforts help make this tool better for everyone.