py: upgrade PyO3 to 0.22
This commit is contained in:
parent
0c4b195578
commit
94bb4200cf
|
@ -17,6 +17,6 @@ crate-type = ["cdylib"]
|
|||
[dependencies]
|
||||
bincode = "1.3.1"
|
||||
instant-distance = { version = "0.6", path = "../instant-distance", features = ["with-serde"] }
|
||||
pyo3 = { version = "0.21", features = ["extension-module"] }
|
||||
pyo3 = { version = "0.22", features = ["extension-module"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde-big-array = "0.5.0"
|
||||
|
|
|
@ -10,7 +10,7 @@ use std::iter::FromIterator;
|
|||
use instant_distance::Point;
|
||||
use pyo3::conversion::IntoPy;
|
||||
use pyo3::exceptions::{PyTypeError, PyValueError};
|
||||
use pyo3::types::{PyAnyMethods, PyList, PyListMethods, PyModule, PyString};
|
||||
use pyo3::types::{PyAnyMethods, PyList, PyListMethods, PyModule, PyModuleMethods, PyString};
|
||||
use pyo3::{pyclass, pymethods, pymodule, Bound};
|
||||
use pyo3::{Py, PyAny, PyErr, PyObject, PyRef, PyRefMut, PyResult, Python};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
|
Loading…
Reference in New Issue