diff options
| author | Ellie Huxtable <e@elm.sh> | 2021-04-21 18:13:51 +0100 |
|---|---|---|
| committer | Ellie Huxtable <e@elm.sh> | 2021-04-21 21:26:44 +0100 |
| commit | 4a50ce366639ca9dac7324d6a47d6a0e6c7fccdf (patch) | |
| tree | 7ffd8848f675e1377f750cc0757768d074a5ac05 /atuin-client/src/history.rs | |
| parent | Bump rusqlite from 0.25.0 to 0.25.1 (#35) (diff) | |
| download | atuin-4a50ce366639ca9dac7324d6a47d6a0e6c7fccdf.zip | |
Bugfixes, show time ago, perf improvements
Also allow unique listing and more ergonomic cwd usage
Diffstat (limited to 'atuin-client/src/history.rs')
| -rw-r--r-- | atuin-client/src/history.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/history.rs b/atuin-client/src/history.rs index 7f607784..8dd161db 100644 --- a/atuin-client/src/history.rs +++ b/atuin-client/src/history.rs @@ -6,7 +6,7 @@ use chrono::Utc; use atuin_common::utils::uuid_v4; // Any new fields MUST be Optional<>! -#[derive(Debug, Clone, Serialize, Deserialize)] +#[derive(Debug, Clone, Serialize, Deserialize, Ord, PartialOrd)] pub struct History { pub id: String, pub timestamp: chrono::DateTime<Utc>, |
