From bbdf38018b47328b5faa2cef635c37095045be72 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 12 Jun 2026 01:54:21 +0200 Subject: feat(server): Really make users stateless (with tests) This commit also remove another load of unneeded features. --- crates/turtle/src/command/client/wrapped.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/turtle/src/command/client/wrapped.rs') diff --git a/crates/turtle/src/command/client/wrapped.rs b/crates/turtle/src/command/client/wrapped.rs index 5e41657e..d502d3ec 100644 --- a/crates/turtle/src/command/client/wrapped.rs +++ b/crates/turtle/src/command/client/wrapped.rs @@ -3,7 +3,8 @@ use eyre::Result; use std::collections::{HashMap, HashSet}; use time::{Date, Duration, Month, OffsetDateTime, Time}; -use crate::atuin_client::{database::Database, settings::Settings, theme::Theme}; +use crate::atuin_client::database::ClientSqlite; +use crate::atuin_client::{settings::Settings, theme::Theme}; use crate::atuin_history::stats::{Stats, compute}; @@ -268,7 +269,7 @@ fn print_fun_facts(wrapped_stats: &WrappedStats, stats: &Stats, year: i32) { pub(crate) async fn run( year: Option, - db: &impl Database, + db: &ClientSqlite, settings: &Settings, theme: &Theme, ) -> Result<()> { -- cgit v1.3.1