Bump dependency versions and Rust edition #98
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bound
smart pointers:&PyAny
->Bound<'_, PyAny>
&PyList
->Bound<'_, PyList>
&PyTuple
->Bound<'_, PyTuple>
&PyModule
->&Bound<'_, PyModule>
ListOrTuple
enum to useBound
types and added#[derive(Clone)]
ListOrTupleIterator
to returnBound<'py, PyAny>
itemsPyTuple::new_bound
->PyTuple::new
,PyList::new_bound
->PyList::new
py.get_type_bound
->py.get_type
?
operatorFromPyObject
: Migrated fromextract
toextract_bound
methodinto_py()
andto_object()
withinto_pyobject().unwrap().into()
unsafe impl Sync
for bothConnection
andCursor
structs (required for PyO3 0.23+)#[pyo3(signature = ...)]
attributes for functions with trailingOption<T>
parameters:execute
andexecutemany
:#[pyo3(signature = (sql, parameters=None))]
fetchmany
:#[pyo3(signature = (size=None))]
__exit__
:#[pyo3(signature = (exc_type=None, _exc_val=None, _exc_tb=None))]
&Bound<'_, PyModule>
instead of&PyModule