Crates.io | pyo3_macro |
lib.rs | pyo3_macro |
version | 0.1.4 |
source | src |
created_at | 2024-06-02 19:10:55.64251 |
updated_at | 2024-06-27 15:21:19.582047 |
description | 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 1. Macro `with_new` that implements `__new__` constructor for Rust Python binding. 2. Macro `with_pyclass` that adds customized `pyclass` attributes macro for your Rust structures." |
homepage | https://github.com/austin362667/pyo3-macro |
repository | https://github.com/austin362667/pyo3-macro |
max_upload_size | |
id | 1259422 |
size | 25,332 |
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.
with_new
that implements __new__
constructor for Rust Python binding.with_pyclass
that add pyclass
attributes macro for your structures.