Thank you for your interest in contributing to xmlschema-rs!
- Fork the repository
- Clone your fork:
git clone https://github.com/<your-username>/xmlschema-rs.git cd xmlschema-rs
- Create a feature branch:
git checkout -b feature/your-feature
- Rust 1.77+
- Node.js 16+ (for npm/wasm packages)
- Python 3.8+ (for W3C tests)
cargo build # Build
cargo test # Run tests
cargo clippy # Lint
cargo fmt --check # Format checkAll pull requests must pass these gates before merging.
- Follow standard Rust conventions (
rustfmtdefaults) - Add
// SAFETY:comments for anyunsafeblocks - Keep public API changes minimal and documented
- Ensure all tests pass (
cargo test) - Ensure no clippy warnings (
cargo clippy -- -D warnings) - Ensure code is formatted (
cargo fmt) - Write clear commit messages
- Open a pull request against
main
- Use GitHub Issues for bug reports and feature requests
- For security vulnerabilities, see SECURITY.md
By contributing, you agree that your contributions will be licensed under the MIT License.