Thank you for your interest in contributing to NEAR's Rust SDK! We appreciate any type of contribution.
If you have any questions about contributing, or about the project in general, please ask in our rust-sdk Discord channel.
We have an open and welcoming environment, please review our code of conduct.
Please use descriptive PR titles. We loosely follow the conventional commits style, but this is not a requirement to follow exactly. PRs will be addressed more quickly if it is clear what the intention is.
Ensure the following are satisfied before opening a PR:
- Code is formatted with
rustfmt
by runningcargo fmt
- Run
clippy
- The exact command run by the CI is
cargo clippy --tests -- -Dclippy::all
- The exact command run by the CI is
- Run tests with
cargo test
- Test all examples with
./examples/test_all.sh
- This must be done after the previous step
- Ensure any new functionality is adequately tested
- If any new public types or functions are added, ensure they have appropriate rustdoc documentation