We love contributions from everyone.
By participating in this project, you agree to abide by the Rust code of conduct.
We expect everyone to follow the code of conduct anywhere in our project codebases, issue trackers, chatrooms, and mailing lists.
-
Fork the repo (preferably on a feature-branch).
If you are using Windows system, please clone the repo with
git clone -c core.symlinks=true <repo url>
. 'Cause here are some symlink-like files under thetests/projects
directory, these work well on Linux system, but not on Windows system. So you need to transform them as real symlinks through settingcore.symlinks=true
when cloning. -
Make your changes.
-
Make sure your changes make the tests pass:
$ cargo test
-
Make sure your changes make the lints pass:
$ cargo clippy
(to install clippy;$ rustup component add clippy-preview
) -
Make sure your changes follow the project's code style. (hint:
$ cargo fmt
) -
Push to your fork.
-
Submit a pull request.
Others will give constructive feedback. This is a time for discussion and improvements, and making the necessary changes will be required before we can merge the contribution.