File tree Expand file tree Collapse file tree 3 files changed +16
-18
lines changed
Expand file tree Collapse file tree 3 files changed +16
-18
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " twinleaf-py"
3- version = " 0.1.1 "
3+ version = " 0.1.2 "
44edition = " 2021"
55
66# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -9,6 +9,6 @@ name = "_twinleaf"
99crate-type = [" cdylib" ]
1010
1111[dependencies ]
12- pyo3 = { version = " 0.24 " , features = [" extension-module" ] }
13- twinleaf = { version = " 1.3 " }
12+ pyo3 = { version = " 0.26 " , features = [" extension-module" ] }
13+ twinleaf = { version = " 1.4 " }
1414crossbeam = " 0.8"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ impl PyIter {
1818 slf
1919 }
2020
21- fn __next__ ( mut slf : PyRefMut < ' _ , Self > ) -> PyResult < Option < PyObject > > {
21+ fn __next__ ( mut slf : PyRefMut < ' _ , Self > ) -> PyResult < Option < Py < PyAny > > > {
2222 let dict = PyDict :: new ( slf. py ( ) ) ;
2323
2424 if let Some ( ctr) = slf. n {
@@ -128,7 +128,7 @@ impl PyDevice {
128128 } )
129129 }
130130
131- fn _get_metadata < ' py > ( & self , py : Python < ' py > ) -> PyResult < PyObject > {
131+ fn _get_metadata < ' py > ( & self , py : Python < ' py > ) -> PyResult < Py < PyAny > > {
132132 let mut device = data:: Device :: new ( self . proxy . device_full ( self . route . clone ( ) ) . unwrap ( ) ) ;
133133 let meta = match device. get_metadata ( ) {
134134 Ok ( meta) => meta,
You can’t perform that action at this time.
0 commit comments