5 releases
0.1.4 | Jun 27, 2024 |
---|---|
0.1.3 | Jun 27, 2024 |
0.1.2 | Jun 23, 2024 |
0.1.1 | Jun 7, 2024 |
0.1.0 | Jun 2, 2024 |
#566 in Procedural macros
31 downloads per month
25KB
119 lines
PyO3-macro
A Rust macro crate builds PyO3-compatible Rust protobuf
and gRPC
structures.
So you can easily expose your generated protobuf code as Pythin binding through PyO3.
Features
- Macro
with_new
that implements__new__
constructor for Rust Python binding. - Macro
with_pyclass
that addpyclass
attributes macro for your structures.
Dependencies
~1.5MB
~35K SLoC