py: upgrade to PyO3 0.22
This commit is contained in:
parent
f7dd587878
commit
d6f74be9e7
|
@ -18,5 +18,5 @@ crate-type = ["cdylib"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bincode = "1.3.2"
|
bincode = "1.3.2"
|
||||||
instant-segment = { version = "0.11", path = "../instant-segment", features = ["with-serde"] }
|
instant-segment = { version = "0.11", path = "../instant-segment", features = ["with-serde"] }
|
||||||
pyo3 = { version = "0.21", features = ["extension-module"] }
|
pyo3 = { version = "0.22", features = ["extension-module"] }
|
||||||
smartstring = "1"
|
smartstring = "1"
|
||||||
|
|
|
@ -6,7 +6,7 @@ use std::io::{BufReader, BufWriter};
|
||||||
|
|
||||||
use pyo3::exceptions::PyValueError;
|
use pyo3::exceptions::PyValueError;
|
||||||
use pyo3::pybacked::PyBackedStr;
|
use pyo3::pybacked::PyBackedStr;
|
||||||
use pyo3::types::{PyAnyMethods, PyIterator, PyModule};
|
use pyo3::types::{PyAnyMethods, PyIterator, PyModule, PyModuleMethods};
|
||||||
use pyo3::{pyclass, pymethods, pymodule, Bound};
|
use pyo3::{pyclass, pymethods, pymodule, Bound};
|
||||||
use pyo3::{PyErr, PyRef, PyRefMut, PyResult, Python};
|
use pyo3::{PyErr, PyRef, PyRefMut, PyResult, Python};
|
||||||
use smartstring::alias::String as SmartString;
|
use smartstring::alias::String as SmartString;
|
||||||
|
|
Loading…
Reference in New Issue