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
6
7
8
9
10
error: `define_py_module!` requires `module <name>;`
 --> tests/ui/fail/missing_module.rs:3:1
  |
3 | / define_py_module! {
4 | |     classes: [];
5 | |     functions: [];
6 | | }
  | |_^
  |
  = note: this error originates in the macro `define_py_module` (in Nightly builds, run with -Z macro-backtrace for more info)