diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2024-12-27 15:21:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-27 15:21:45 +0000 |
| commit | aa5c7e7d1a0787dd07ff4f901ed0321c7005debb (patch) | |
| tree | 1488254dfd47287ab7d5443f4deabce8b206e7c6 /crates/atuin-history/src/stats.rs | |
| parent | chore(release): prepare for release 18.4.0-beta.5 (#2472) (diff) | |
| download | atuin-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/stats.rs')
| -rw-r--r-- | crates/atuin-history/src/stats.rs | 2 |
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, |
