-
Fork toml-rs
-
Clone your fork
via git:
git clone https://github.com/<USERNAME>/toml-rs.git
cd toml-rsvia GitHub CLI:
gh repo clone <USERNAME>/toml-rs
cd toml-rs- Create and activate virtual environment:
on Linux / MacOS:
python3 -m venv .venv # or uv venv .venv --seed
source .venv/bin/activateon Windows:
py -m venv .venv # or uv venv .venv --seed
.venv\scripts\activate- Install development dependencies and project itself:
via pip:
pip install -e . --group devvia uv:
uv pip install -e . --group dev
We use ruff to check code. To run it do:
ruff checkWe use rumdl to lint Markdown files. To run it do:
rumdl checkWe use ty to check types. To run it do:
ty checkWe use nox for tests. To run it do:
noxWe use zizmor to audit our GitHub Actions workflows for security issues. To run it do:
zizmor .github/We use typos to check our code for spelling mistakes. To run it locally:
typosProject supports compilation with alternative memory allocators: mimalloc and snmalloc.
Mimalloc is used by default.
Building with mimalloc:
maturin develop --release --features mimallocBuilding with snmalloc:
maturin develop --release --features snmallocBuilding with default allocator:
maturin develop --release