From 03c2ded21b7dd852d3f47a8af58ce44ba379b462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Fri, 22 Jan 2016 18:44:35 +0100 Subject: [PATCH] Move tempdir to dev-dependencies --- libimagstore/Cargo.toml | 5 +++-- libimagstore/src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libimagstore/Cargo.toml b/libimagstore/Cargo.toml index c9f4aacd..4186bf70 100644 --- a/libimagstore/Cargo.toml +++ b/libimagstore/Cargo.toml @@ -4,8 +4,9 @@ version = "0.1.0" authors = ["Matthias Beyer "] [dependencies] - fs2 = "0.2.2" toml = "0.1.25" -tempdir = "0.3.4" semver = "0.2" + +[dev-dependencies] +tempdir = "0.3.4" diff --git a/libimagstore/src/lib.rs b/libimagstore/src/lib.rs index 2c62c0f5..808bf9fa 100644 --- a/libimagstore/src/lib.rs +++ b/libimagstore/src/lib.rs @@ -1,6 +1,6 @@ extern crate fs2; extern crate toml; -extern crate tempdir; +#[cfg(test)] extern crate tempdir; extern crate semver; pub mod storeid;