pyo3-gated 0.1.2

Attribute macros to expose Rust types to Python via PyO3 from a single definition - no duplicate structs or impl blocks.
Documentation
1
2
3
4
5
error: `pyfunction_args` applies only to `#[py_compat_fn]` and function items passed to `#[py_compat]`
 --> tests/ui/fail/pyfunction_args_on_struct.rs:3:20
  |
3 | #[py_compat_struct(pyfunction_args(name = "bad"))]
  |                    ^^^^^^^^^^^^^^^