aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-history/src
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2024-12-27 15:21:45 +0000
committerGitHub <noreply@github.com>2024-12-27 15:21:45 +0000
commitaa5c7e7d1a0787dd07ff4f901ed0321c7005debb (patch)
tree1488254dfd47287ab7d5443f4deabce8b206e7c6 /crates/atuin-history/src
parentchore(release): prepare for release 18.4.0-beta.5 (#2472) (diff)
downloadatuin-aa5c7e7d1a0787dd07ff4f901ed0321c7005debb.zip
feat: add `atuin wrapped` (#2493)
* wip * wip * final * fix clippy * do not hard code the year * support tz properly, allow specifying the year
Diffstat (limited to 'crates/atuin-history/src')
-rw-r--r--crates/atuin-history/src/stats.rs2
1 files changed, 1 insertions, 1 deletions
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,