From 0aea904fdd78c5c9fa5a0be7bac386ec7d7fe33f Mon Sep 17 00:00:00 2001 From: aaron-jack-manning Date: Tue, 23 Aug 2022 10:12:48 +1000 Subject: [PATCH] task field order changed --- Cargo.lock | 2 +- src/tasks.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c24bc2c..219ff8a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -825,7 +825,7 @@ dependencies = [ [[package]] name = "toru" -version = "0.1.0" +version = "0.1.1" dependencies = [ "chrono", "clap", diff --git a/src/tasks.rs b/src/tasks.rs index 917d705..7a167a6 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -93,7 +93,6 @@ impl TimeEntry { pub struct InternalTask { pub id : Id, pub name : String, - pub info : Option, pub tags : HashSet, pub dependencies : HashSet, pub priority : Priority, @@ -101,6 +100,7 @@ pub struct InternalTask { pub created : chrono::NaiveDateTime, pub complete : bool, pub discarded : bool, + pub info : Option, pub time_entries : Vec, }