18
UniFFI - automatically generate foreign-language bindings targeting Rust libraries
(mozilla.github.io)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
That's a bummer. I guess what I though was PyO3 type hints was actually just PyCharm guessing at the types.
I tried creating a
.pyi
file and it seems to be a pretty big improvement over no type hints, but I don't know how to add type hints for modules added withPyModule::add_module
and adding the.pyi
file seems to make the type checker not know about my other modules.Would you mind sharing the script for auto generating type hints? Keeping them in sync manually would be pretty annoying.