From 9a576a8d3a8cb1d143be0ade0310f71b490cacb9 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 2 May 2026 14:02:47 +0200 Subject: update dependencies --- hittekaart-py/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hittekaart-py/src/lib.rs') diff --git a/hittekaart-py/src/lib.rs b/hittekaart-py/src/lib.rs index 7a88bab..b93d9d6 100644 --- a/hittekaart-py/src/lib.rs +++ b/hittekaart-py/src/lib.rs @@ -38,7 +38,7 @@ fn err_to_py(mut error: &dyn Error) -> PyErr { /// Tracks can be loaded from GPX files (see Track.from_file()) or from in-memory coordinates /// (Track.from_coordinates()). Otherwise, tracks should be treated as opaque objects, whose only /// purpose is to be passed to generate(). -#[pyclass] +#[pyclass(from_py_object)] #[derive(Debug, Clone)] struct Track { inner: Vec, @@ -97,7 +97,7 @@ enum StorageType { /// database (more space-efficient). /// /// See hittekaart's README for more detailed information. -#[pyclass] +#[pyclass(from_py_object)] #[derive(Debug, Clone, PartialEq, Eq)] struct Storage(StorageType); -- cgit v1.2.3