From ab8c8e4e4144a1837d6ffae8cbad158e10e90d91 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 3 Nov 2017 20:18:26 +0100 Subject: [PATCH] Add new required dependencies --- bin/domain/imag-contact/Cargo.toml | 5 +++++ bin/domain/imag-contact/src/main.rs | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/bin/domain/imag-contact/Cargo.toml b/bin/domain/imag-contact/Cargo.toml index e4251fed..2e43223d 100644 --- a/bin/domain/imag-contact/Cargo.toml +++ b/bin/domain/imag-contact/Cargo.toml @@ -22,6 +22,7 @@ toml-query = "^0.3.1" handlebars = "0.29" vobject = { git = 'https://github.com/matthiasbeyer/rust-vobject', branch = "next" } walkdir = "1" +uuid = { version = "0.5", features = ["v4"] } libimagrt = { version = "0.5.0", path = "../../../lib/core/libimagrt" } libimagstore = { version = "0.5.0", path = "../../../lib/core/libimagstore" } @@ -29,5 +30,9 @@ libimagerror = { version = "0.5.0", path = "../../../lib/core/libimagerror" } libimagcontact = { version = "0.5.0", path = "../../../lib/domain/libimagcontact" } libimagutil = { version = "0.5.0", path = "../../../lib/etc/libimagutil" } libimagentryref = { version = "0.5.0", path = "../../../lib/entry/libimagentryref" } +libimagentryedit = { version = "0.5.0", path = "../../../lib/entry/libimagentryedit" } libimaginteraction = { version = "0.5.0", path = "../../../lib/etc/libimaginteraction" } +[dev-dependencies] +regex = "0.2" + diff --git a/bin/domain/imag-contact/src/main.rs b/bin/domain/imag-contact/src/main.rs index 014c5e48..17cd5237 100644 --- a/bin/domain/imag-contact/src/main.rs +++ b/bin/domain/imag-contact/src/main.rs @@ -32,14 +32,17 @@ while_true, )] +#[cfg(test)] extern crate regex; + extern crate clap; #[macro_use] extern crate log; #[macro_use] extern crate version; +#[macro_use] extern crate vobject; extern crate toml; extern crate toml_query; extern crate handlebars; -extern crate vobject; extern crate walkdir; +extern crate uuid; extern crate libimagcontact; extern crate libimagstore; @@ -48,6 +51,7 @@ extern crate libimagerror; extern crate libimagutil; extern crate libimaginteraction; extern crate libimagentryref; +extern crate libimagentryedit; use std::process::exit; use std::collections::BTreeMap;