From b95ff30cbf5754ded5d0ddbcbb47cfde67c9e4c1 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Thu, 4 Jun 2020 13:34:56 +0100 Subject: [PATCH] cargo: Moved tempfile crate to dev deps Don't require the `tempfile` crate unless building in dev mode (such as when running tests). Signed-off-by: James O. D. Hunt --- pkg/logging/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/logging/Cargo.toml b/pkg/logging/Cargo.toml index ab73679223..baa21ede89 100644 --- a/pkg/logging/Cargo.toml +++ b/pkg/logging/Cargo.toml @@ -16,5 +16,6 @@ slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "rele slog-json = "2.3.0" slog-async = "2.3.0" slog-scope = "4.1.2" -# for testing -tempfile = "3.1.0" \ No newline at end of file + +[dev-dependencies] +tempfile = "3.1.0"