Decision Workspace
pyo3_macro vs pyo3-nest vs bon
Side-by-side comparison of Rust crates
40
pyo3_macro
growingv0.1.4
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."
51
pyo3-nest
experimentalv0.1.5
A clean and ergonomic macro for creating deeply nested submodules in PyO3
78
bon
stablev3.10.2
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| pyo3_macro | pyo3-nest | bon | |
|---|---|---|---|
| Health Score | 40 | 51 | 78 |
| Total Downloads | 5.6K | 1.4K | 64.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 10.5K |
| Releases | 5 | 6 | 51 |
| Last Updated | 834d ago | 102d ago | 7d ago |
| Age | 2y 4m | 6m | 2y 3m |
Health Breakdown
pyo3_macro
Maintenance
5
Quality
15
Community
3
Popularity
4
Documentation
13
pyo3-nest
Maintenance
14
Quality
14
Community
6
Popularity
4
Documentation
13
bon
Maintenance
19
Quality
22
Community
17
Popularity
8
Documentation
12
Technical Details
| pyo3_macro | pyo3-nest | bon | |
|---|---|---|---|
| Version | 0.1.4 | 0.1.5 | 3.10.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 1 | 5 |
| Crate Size | 6KB | 5KB | 67KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.88.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 78/100, but none of the options score above 80.
- •bon is depended on by 10.5K crates — strongest ecosystem trust.
- •⚠ pyo3_macro has not been updated in over a year.
- •pyo3_macro, pyo3-nest are pre-1.0 — API may change.