diff options
author | mario <mario-krehl@gmx.de> | 2016-05-04 14:37:25 +0200 |
---|---|---|
committer | mario <mario-krehl@gmx.de> | 2016-05-04 14:37:25 +0200 |
commit | efd72d65a11112bbe8182a27ad8ba7d1ee0bbc84 (patch) | |
tree | ffb99027b76b2ce620a5e033b5446ea7847a0a05 /libimagtodo | |
parent | 2129ab2a49835d98ca4a2b8579e12c81e474c37e (diff) |
added dependency to libimagstore
Diffstat (limited to 'libimagtodo')
-rw-r--r-- | libimagtodo/Cargo.toml | 4 | ||||
-rw-r--r-- | libimagtodo/src/lib.rs | 6 | ||||
-rw-r--r-- | libimagtodo/src/task.rs | 9 |
3 files changed, 17 insertions, 2 deletions
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 <mario-krehl@gmx.de>"] [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<FileLockEntry> for Task { + +} |