Skip to content

Releases: PyO3/rust-numpy

rust-numpy version 0.12.2

23 Dec 05:23
Compare
Choose a tag to compare
  • Use more restricted versions for PyO3 and ndarray

rust-numpy version 0.12.1

12 Oct 10:10
23f86cf
Compare
Choose a tag to compare
  • Fixes a compilation error with Rust 1.39 (also, please use pyo3 >= 0.12.2 for Rust 1.39)

rust-numpy version 0.12.0

11 Oct 08:23
Compare
Choose a tag to compare

This version includes two additional wrappers: for dtype and nditer.
PyArrayDescr is introduced as a wrapper of array.dtype in Python.
Also, we added wrappers of nditer as two types: NpySingleIter and NpyMultiIter.
Both iterators have a nice, flexible builders, thanks @PTNobel!

rust-numpy v0.11.0

16 Jul 16:01
cc895a2
Compare
Choose a tag to compare
  • PyArray::get is now unsafe.
  • Introduce PyArray::get_owned and PyReadonlyArray::get.

rust-numpy v0.10.0

16 Jul 04:03
d4265e1
Compare
Choose a tag to compare

I want to note that there are two important changes in this version. One is that rust-numpy works on stable Rust as per PyO3 0.11, and the other is PyReadonlyArray.
To prevent undefined behavior, PyArray::as_slice and families are unsafe now. Please use the safe PyReadonlyArray::as_slice instead.

  • Remove ErrorKind and introduce some concrete error types
  • PyArray::as_slice, PyArray::as_slice_mut, PyArray::as_array, and PyArray::as_array_mut is now unsafe.
  • Introduce PyArray::as_cell_slice, PyArray::to_vec, and PyArray::to_owned_array
  • Rename TypeNum trait Element, and NpyDataType DataType

rust-numpy v0.9.0

14 May 13:28
fb703b7
Compare
Choose a tag to compare
  • Update PyO3 to 0.10.0

rust-numpy v0.8.0

19 Mar 07:13
Compare
Choose a tag to compare
  • Update PyO3 to 0.9.0
  • Fix SliceBox initialization

rust-numpy v0.7.0

07 Sep 06:55
e11cc0e
Compare
Choose a tag to compare
  • Update pyo3 to 0.8

rust-numpy v0.6.0

26 May 11:00
8de3443
Compare
Choose a tag to compare
  • Update PyO3 to 0.7
  • Drop Python2 support