diff --git a/tower-sessions-core/Cargo.toml b/tower-sessions-core/Cargo.toml index 95f8532..aaa6eb7 100644 --- a/tower-sessions-core/Cargo.toml +++ b/tower-sessions-core/Cargo.toml @@ -21,7 +21,7 @@ futures = { version = "0.3.28", default-features = false, features = [ "async-await", ] } http = "1.0" -parking_lot = { version = "0.12.1", features = ["serde"] } +parking_lot = "0.12.1" rand = "0.9" serde = { version = "1.0.189", features = ["derive", "rc"] } serde_json = "1.0.107" diff --git a/tower-sessions-core/src/session.rs b/tower-sessions-core/src/session.rs index dccd05e..db49a2e 100644 --- a/tower-sessions-core/src/session.rs +++ b/tower-sessions-core/src/session.rs @@ -105,7 +105,7 @@ impl Session { } #[tracing::instrument(skip(self), err)] - async fn get_record(&self) -> Result> { + async fn get_record(&self) -> Result> { let mut record_guard = self.inner.record.lock().await; // Lazily load the record since `None` here indicates we have no yet loaded it.