From 1c723a9a0eaadfd06b72732d4baaa0bc08894587 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 16 May 2016 18:52:41 +0200 Subject: [PATCH] Move trace_error() functionality from libimagutil to libimagerror --- libimagerror/Cargo.toml | 2 ++ libimagerror/src/lib.rs | 4 ++++ {libimagutil => libimagerror}/src/trace.rs | 0 libimagutil/Cargo.toml | 1 - libimagutil/src/lib.rs | 2 -- 5 files changed, 6 insertions(+), 3 deletions(-) rename {libimagutil => libimagerror}/src/trace.rs (100%) diff --git a/libimagerror/Cargo.toml b/libimagerror/Cargo.toml index bd769698..2227ce9e 100644 --- a/libimagerror/Cargo.toml +++ b/libimagerror/Cargo.toml @@ -4,3 +4,5 @@ version = "0.1.0" authors = ["Matthias Beyer "] [dependencies] +log = "0.3" +ansi_term = "0.7" diff --git a/libimagerror/src/lib.rs b/libimagerror/src/lib.rs index 9f79f549..d7f374a7 100644 --- a/libimagerror/src/lib.rs +++ b/libimagerror/src/lib.rs @@ -1 +1,5 @@ +#[macro_use] extern crate log; +extern crate ansi_term; + pub mod error_gen; +pub mod trace; diff --git a/libimagutil/src/trace.rs b/libimagerror/src/trace.rs similarity index 100% rename from libimagutil/src/trace.rs rename to libimagerror/src/trace.rs diff --git a/libimagutil/Cargo.toml b/libimagutil/Cargo.toml index efcbff44..96638623 100644 --- a/libimagutil/Cargo.toml +++ b/libimagutil/Cargo.toml @@ -7,5 +7,4 @@ authors = ["Matthias Beyer "] lazy_static = "0.1.15" log = "0.3" regex = "0.1" -ansi_term = "0.7" diff --git a/libimagutil/src/lib.rs b/libimagutil/src/lib.rs index e0d7a3ce..bde49b00 100644 --- a/libimagutil/src/lib.rs +++ b/libimagutil/src/lib.rs @@ -16,9 +16,7 @@ #[macro_use] extern crate lazy_static; #[macro_use] extern crate log; extern crate regex; -extern crate ansi_term; pub mod ismatch; pub mod key_value_split; -pub mod trace; pub mod variants;