Installation¶
Requirements¶
- Python 3.9 or later
- A working Rust toolchain (for building from source)
- maturin ≥ 1.0
Install from source¶
Clone the repository and build the Rust extension with maturin:
git clone https://github.com/Adamtaranto/rusty-dot.git
cd rusty-dot
pip install maturin
maturin develop --release
The --release flag enables full Rust compiler optimisations, which is strongly recommended for any non-trivial dataset.
Install Python dependencies¶
rusty-dot depends on:
| Package | Purpose |
|---|---|
matplotlib ≥ 3.5 |
Dotplot visualisation |
numpy ≥ 1.21 |
Array operations used by matplotlib |
These are declared as package dependencies and will be installed automatically by pip.
Optional: documentation dependencies¶
To build the documentation locally: