From c2dbe785e37c792b08adb594ee510e32be897791 Mon Sep 17 00:00:00 2001 From: Alexis Date: Wed, 25 Sep 2024 15:48:25 +0200 Subject: [PATCH] Remove ARC --- rust/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 728cddf..f5ad954 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -8,8 +8,6 @@ pub mod name; pub mod oid; pub mod tsp; -use std::sync::Arc; - use pyo3::prelude::*; use tsp::{RawTimeStampReq, RawTimeStampResp}; @@ -23,7 +21,7 @@ self_cell::self_cell!( #[pyo3::pyclass] pub struct TimeStampReq { - raw: Arc, + raw: OwnedTimeStamReq, } #[pyo3::pymethods] @@ -44,7 +42,7 @@ self_cell::self_cell!( #[pyo3::pyclass] pub struct TimeStampResp { - raw: Arc, + raw: OwnedTimeStamResp, } #[pyo3::pymethods]