Calling Rust from Python no longer in the Rust book Documentation?

The latest version of the rust book (The Rust Programming Language) no longer has the chapter on calling Rust from other languages (Rust Inside Other Languages)

I wanted to work on a Rust project and learn how to put compiled modules in a python project. Where can I look for documentation on doing that? I don't have a lot of experience with cffi.

The old documentation you find seems to still be relevant. Also look at FFI

Perhaps you don't want to do the ffi manually. There is rust-cpython project which wrapps cffi in the Rustic interface.

It was removed because we didn't have good criteria for what languages to include and remove, and were also worried about the maintenance version, not because anything in it was incorrect.

2 Likes