Embedding Python in Rust (for tests)
SMRTR summary
PyO3 allows Rust applications to embed Python, enabling Python code to call Rust functions and vice versa, while a custom test runner showcases how to set up the Python interpreter and run tests with dynamically typed Rust functions exposed to Python.
SMRTR provides this summary for quick context. The original article belongs to Lobsters.
Read the original article