You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.2 KiB


Code style follows the rustfmt.toml file.

Trace logs

Enable trace logs to stderr with:


This means you will have to to redirect stderr to a file like meli 2> trace.log.

Tracing is opt-in by build features:

cargo build --features=debug-tracing,imap-trace,smtp-trace

use .git-blame-ignore-revs file optional

Use this file to ignore formatting commits from git-blame. It needs to be set up per project because git-blame will fail if it's missing.

git config blame.ignoreRevsFile .git-blame-ignore-revs

Formatting with rustfmt

make fmt

Linting with clippy

make lint


make test

How to run specific tests:

cargo test -p {melib, meli} (-- --nocapture) (--test test_name)


perf record -g target/debug/meli
perf script | stackcollapse-perf | rust-unmangle | flamegraph > perf.svg