Thanks for choosing to contribute to lewp-rs
! This is a summary of all information required to get accepted for a PR. If you have questions or identified missing information, please create an issue so they can be added.
This project follows the standard Rust naming conventions. Make sure that your code is formatted by rustfmt
before committing.
The main development takes place in the main
branch. Please make sure that your PR goes in there. The main
branch is used as base for the release branches.
For the different types of branches the following prefixes are used:
f/
for feature branchesb/
for bugfix branchesr/
for release branchesh/
for hotfix branchesv
is the version tag prefix
The commit messages must follow conventional commits.
Available scopes are:
-
css
- for thelewp-css
crate -
selectors
- forlewp-selectors
crate -
html
- forlewp-html
crate -
lewp
- for the main crate
Please make sure that every commit is a complete one, meaning the code should run as expected. This includes that the following tests
-
cargo test --all-features
-
cargo clippy --all-features
pass.