Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (29 loc) · 1.6 KB

CONTRIBUTING.md

File metadata and controls

44 lines (29 loc) · 1.6 KB

Contributing

Prerequisites

Whether you want to contribute to the codebase or just to the documentation, there are a few things you should have before getting started:

Contributing to the Codebase

This project is almost exclusively written in Rust so here are some editors and plugins you should use to make your life easier:

If you have CLion, you can use the pre-configured Run Configurations in .run/.

To get started, you first need the nightly toolchain to compile the code:

rustup toolchain install nightly

You should also install and use clippy and rustfmt:

rustup component add clippy rustfmt

If you add or change any dependencies you should run cargo-deny and make sure there are no issues:

cargo install cargo-deny
cargo deny check

Useful commands

  • clippy: cargo clippy
  • rustfmt: cargo fmt
  • benchmark: cargo bench
  • cargo-deny: cargo deny check