drift-labs/driftpy

Investigate if worthwhile making this a pyo3 package

Opened this issue · 1 comments

wphan commented

https://pyo3.rs/ lets you turn a rust crate into a python-importable package. It might be worthwhile going through protocol-v2 and adding a feature that implements the pyo3 traits for important structs, and create a new crate exporting any important functions

This will bring in a lot of the protocol calculations into this project and ensure parity with protocol-v2

Wondering what exactly this would take?