rust-ipfs/CONTRIBUTING.md
2020-03-06 17:26:41 -05:00

1.6 KiB

Contributing to Rust IPFS

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

  • Implementing endpoints and features not covered in the dev grant (See the README)
  • Tests and CI for existing functionality
  • Examples
  • Documentation

First Principles

  1. Keep the build time small
  2. Aim for high (but not absolute) code coverage in testing

Target Build

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.

Contributing

We welcome all forms of contribution. Please open issues and PRs for:

  • Reporting Bugs
  • Suggesting Enhancements
  • Adding new tests
  • Adding new functionality
  • Documentation-only updates

Style

  • Git Commit Messages should lean towards Conventional Commits but will not be enforced
  • Rust code should conform to rustfmt and clippy before push, as the CI will catch errors there

Security

If you have discovered a security vulnerability, please open an 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.