-
Notifications
You must be signed in to change notification settings - Fork 2
Developer guide
Mikko edited this page Apr 28, 2024
·
1 revision
You need to install the Rust toolchain if you have not already.
sudo apt update
sudo apt install git build-essential pkg-config libssl-dev
git clone https://github.com/Andriamanitra/coctus
cd coctus
cargo build
Please contribute to the Wiki by adding instructions for other distros and operating systems!
We use just
as a command runner for completing common tasks. You can read the justfile
to see all of the available recipes (or run just --list
after you have installed just
). You don't need to use just
to contribute but it can definitely save you some typing.
We use rustfmt
is for formatting code. You should use the nightly version (cargo +nightly fmt
or just format
) to ensure compatibility with the formatting rules (rustfmt.toml) that are used in Github Actions.
clippy
is an awesome linter that can give you really nice suggestions on how to improve code.