diff --git a/libimagtodo/Cargo.toml b/libimagtodo/Cargo.toml index 07059ac9..9cdc711c 100644 --- a/libimagtodo/Cargo.toml +++ b/libimagtodo/Cargo.toml @@ -6,6 +6,7 @@ authors = ["mario "] [dependencies] semver = "0.2" task-hookrs = { git = "https://github.com/matthiasbeyer/task-hookrs.git" } +uuid = "0.2.0" [dependencies.libimagstore] path = "../libimagstore" diff --git a/libimagtodo/src/lib.rs b/libimagtodo/src/lib.rs index fdd29389..9913f7b4 100644 --- a/libimagtodo/src/lib.rs +++ b/libimagtodo/src/lib.rs @@ -1,4 +1,5 @@ extern crate semver; +extern crate uuid; extern crate task_hookrs; #[macro_use] extern crate libimagstore; diff --git a/libimagtodo/src/task.rs b/libimagtodo/src/task.rs index 5ff6bc5b..41f71cee 100644 --- a/libimagtodo/src/task.rs +++ b/libimagtodo/src/task.rs @@ -1,5 +1,6 @@ use std::ops::Deref; +use uuid::Uuid; use task_hookrs::task::Task as TTask; use libimagstore::store::FileLockEntry; @@ -7,6 +8,7 @@ use libimagstore::store::FileLockEntry; #[derive(Debug)] pub struct Task<'a> { flentry : FileLockEntry<'a>, + uuid : Uuid, } impl<'a> From for Task<'a> {