| 1 |
# Contributing |
| 2 |
|
| 3 |
We welcome and encourage third-party contributions to BLAKE3, be it reports of issues encountered while using the software or proposals of patches. |
| 4 |
|
| 5 |
## Bug reports |
| 6 |
|
| 7 |
Bugs and other problems should be reported on [GitHub Issues](https://github.com/BLAKE3/BLAKE3/issues). |
| 8 |
|
| 9 |
If you report a bug, please: |
| 10 |
|
| 11 |
* Check that it's not already reported in the [GitHub Issues](https://github.com/BLAKE3/BLAKE3/issues). |
| 12 |
* Provide information to help us diagnose and ideally reproduce the bug. |
| 13 |
|
| 14 |
## Patches |
| 15 |
|
| 16 |
We encourage you to fix a bug via a [GitHub Pull request](https://github.com/BLAKE3/BLAKE3/pulls), preferably after creating a related issue and referring it in the PR. |
| 17 |
|
| 18 |
If you contribute code and submit a patch, please note the following: |
| 19 |
|
| 20 |
* We use Rust's stable branch for developing BLAKE3. |
| 21 |
* Pull requests should target the `master` branch. |
| 22 |
* Try to follow the established Rust [style guidelines](https://doc.rust-lang.org/1.0.0/style/). |
| 23 |
|
| 24 |
Also please make sure to create new unit tests covering your code additions. You can execute the tests by running: |
| 25 |
|
| 26 |
```bash |
| 27 |
cargo test |
| 28 |
``` |
| 29 |
|
| 30 |
All third-party contributions will be recognized in the list of contributors. |
| 31 |
|