rust-cpython v0.3.0 Release Notes
Release Date: 2019-08-01 // over 4 years ago-
- Minumum Rust compiler version is now 1.30.
- โ Added Capsule support (PR by @gracinet)
- โ Added Rust Docstring support for instance methods, static methods and class methods (PRs by @quark-zju and @AdamRzepka)
- Made macros work with Rust 2018 (PR by @derekdreery)
- ๐ Support Rust raw identifiers for method and keyword names (PR by @quark-zju)
- โ Added
impl RefFromPyObject for [u8]
. This allows using&[u8]
as parameter type inpy_fn!
. When passing abytes
object from Python, this allows accessing the data without a copy. (other mutable Python objects will use a defensive copy)