rust-ipfs/CONTRIBUTING.md

38 lines
1.7 KiB
Markdown
Raw Normal View History

# Contributing to Rust IPFS
2020-03-05 21:30:47 +03:00
Welcome, and thank you for your interest in contributing to Rust IPFS. Issues and pull requests are encouraged. As we work through the efforts described in the approved IPFS Dev Grant, we're looking for help in the following
2020-03-05 21:30:47 +03:00
* Implementing endpoints and features not covered in the dev grant (See the [README](./README.md#roadmap))
* Tests and CI for existing functionality
* Examples
* Documentation
2020-03-05 21:30:47 +03:00
## First Principles
2020-03-05 21:30:47 +03:00
1. Keep the build time small
2. Aim for high (but not absolute) code coverage in testing
3. Keep the dependency count low (use [`cargo-deps`](https://github.com/m-cat/cargo-deps))
2020-03-05 21:30:47 +03:00
## Target Build
2020-03-05 21:30:47 +03:00
Rust IPFS will always target the current _stable_ version of Rust that is released. Our CI/CD tests will reflect this. See [instructions here on how to install the rust toolchain](https://doc.rust-lang.org/book/ch01-01-installation.html).
## Contributing
2020-03-05 21:30:47 +03:00
We welcome all forms of contribution. Please open issues and PRs for:
2020-03-05 21:30:47 +03:00
- Reporting Bugs
- Suggesting Enhancements
- Adding new tests
- Adding new functionality
- Documentation-only udpates
2020-03-05 21:30:47 +03:00
## Style
- Git Commit Messages should lean towards [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) but will not be enforced
2020-03-05 21:30:47 +03:00
- Rust code should conform to `rustfmt` and `clippy` before push, as the CI will catch errors there
## Security vuln disclosure - perhaps in SECURITY.md?
2020-03-05 21:30:47 +03:00
If you have discovered a security vulnerability, please open and issue. We'd like to handle things as transparently as possible. If you don't feel like this is prudent, please visit us on one of the chat channels via the badges in the README. One of the core contributors will be able to talk to you about the disclosure.