Installation
As a Rust dependency
Add to your Cargo.toml:
[dependencies]
molex = { git = "https://github.com/petridecus/molex" }
As a Python package
molex provides optional Python bindings via PyO3/maturin.
# Build and install the wheel
cd crates/molex
maturin develop --release --features python
# Verify
python -c "import molex; print('OK')"
Feature flags
| Feature | Description |
|---|---|
python | Enable PyO3 bindings (requires pyo3, numpy) |
The default build includes no optional features β itβs a pure Rust
library with no native dependencies beyond glam and pdbtbx.