From aa5c7e7d1a0787dd07ff4f901ed0321c7005debb Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Fri, 27 Dec 2024 15:21:45 +0000 Subject: feat: add `atuin wrapped` (#2493) * wip * wip * final * fix clippy * do not hard code the year * support tz properly, allow specifying the year --- crates/atuin-history/src/stats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/atuin-history/src') diff --git a/crates/atuin-history/src/stats.rs b/crates/atuin-history/src/stats.rs index 6312f518..310891e4 100644 --- a/crates/atuin-history/src/stats.rs +++ b/crates/atuin-history/src/stats.rs @@ -6,7 +6,7 @@ use unicode_segmentation::UnicodeSegmentation; use atuin_client::{history::History, settings::Settings, theme::Meaning, theme::Theme}; -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, Clone, Serialize, Deserialize)] pub struct Stats { pub total_commands: usize, pub unique_commands: usize, -- cgit v1.3.1