imag-counter: Change dependency from libimagutil -> libimagerror

This commit is contained in:
Matthias Beyer 2016-05-16 18:59:02 +02:00
parent 1c723a9a0e
commit ea01312412
6 changed files with 9 additions and 5 deletions

View file

@ -11,6 +11,9 @@ version = "2.0.1"
[dependencies.libimagrt]
path = "../libimagrt"
[dependencies.libimagerror]
path = "../libimagerror"
[dependencies.libimagutil]
path = "../libimagutil"

View file

@ -2,7 +2,7 @@ use std::str::FromStr;
use std::process::exit;
use libimagrt::runtime::Runtime;
use libimagutil::trace::trace_error;
use libimagerror::trace::trace_error;
use libimagcounter::counter::Counter;
pub fn create(rt: &Runtime) {

View file

@ -1,7 +1,7 @@
use std::process::exit;
use libimagrt::runtime::Runtime;
use libimagutil::trace::trace_error;
use libimagerror::trace::trace_error;
use libimagcounter::counter::Counter;
pub fn delete(rt: &Runtime) {

View file

@ -10,7 +10,7 @@ use libimagcounter::counter::Counter;
use libimagcounter::error::CounterError;
use libimagrt::runtime::Runtime;
use libimagutil::key_value_split::IntoKeyValue;
use libimagutil::trace::trace_error;
use libimagerror::trace::trace_error;
type Result<T> = RResult<T, CounterError>;

View file

@ -1,5 +1,5 @@
use libimagrt::runtime::Runtime;
use libimagutil::trace::trace_error;
use libimagerror::trace::trace_error;
use libimagcounter::counter::Counter;
pub fn list(rt: &Runtime) {

View file

@ -19,6 +19,7 @@ extern crate clap;
extern crate libimagcounter;
extern crate libimagrt;
extern crate libimagerror;
extern crate libimagutil;
use std::process::exit;
@ -26,7 +27,7 @@ use std::str::FromStr;
use libimagrt::runtime::Runtime;
use libimagcounter::counter::Counter;
use libimagutil::trace::trace_error;
use libimagerror::trace::trace_error;
use libimagutil::key_value_split::IntoKeyValue;
mod create;