Commit graph

8 commits

Author SHA1 Message Date
konstin 5edd263371 rustfmt 2019-01-08 20:18:06 +01:00
konstin bc412ede8f Format pyo3cls and pyo3-derive-backend 2018-07-03 22:28:40 +02:00
konstin fd6ab73924 Upgrade to syn 0.14: Useful error messages 🎉 2018-06-15 22:41:16 +02:00
Martin Larralde 37eff44308 Store argument names as Ident instead of String in args::Argument 2018-05-14 16:29:38 +02:00
Martin Larralde b43b481980 Merge #154 and #155 changed with syn13 2018-05-13 21:24:40 +02:00
konstin ccbc73a385 Fix compilation on older nightlies 2018-04-08 00:43:49 +02:00
konstin 45bb09b3e8 Relax return type requirements
Allows returning essentially arbitrary types by wrapping them into a PyResult. This is done with a conversion trait that specializes for PyResult.
2018-04-06 17:22:09 +02:00
konstin e570c6b9b9 Move the codegen into its own crate
This makes the code generatioin reusable from third party crates.
2018-04-05 13:39:07 +02:00
Renamed from pyo3cls/src/method.rs (Browse further)