diff --git a/libimagtodo/Cargo.toml b/libimagtodo/Cargo.toml index e1621658..afc6c4f9 100644 --- a/libimagtodo/Cargo.toml +++ b/libimagtodo/Cargo.toml @@ -5,3 +5,7 @@ authors = ["mario "] [dependencies] task-hookrs = { git = "https://github.com/matthiasbeyer/task-hookrs.git" } + +[dependencies.libimagstore] +path = "../libimagstore" + diff --git a/libimagtodo/src/lib.rs b/libimagtodo/src/lib.rs index 59b0070f..4149a420 100644 --- a/libimagtodo/src/lib.rs +++ b/libimagtodo/src/lib.rs @@ -1,3 +1,9 @@ + +extern crate task_hookrs; +#[macro_use] extern crate libimagstore; + +module_entry_path_mod!("todo", "0.1.0"); + pub mod task; pub mod delete; pub mod read; diff --git a/libimagtodo/src/task.rs b/libimagtodo/src/task.rs index a6eec643..0dfa9c6f 100644 --- a/libimagtodo/src/task.rs +++ b/libimagtodo/src/task.rs @@ -1,8 +1,13 @@ -extern crate task_hookrs; +use std::ops::Deref; -use self::task_hookrs::task::Task as TTask; +use task_hookrs::task::Task as TTask; + +use libimagstore::store::FileLockEntry; pub struct Task { uuid : str, } +impl Deref for Task { + +}