From dc931de7965a7ba2a9b2079b4a5f9c53379d19d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Bezerra?= Date: Mon, 7 Feb 2022 15:26:58 -0300 Subject: [PATCH] chore: specify `time` dependency only for unix --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7ab0457..6ea923d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,10 +28,12 @@ xz2 = "0.1.6" zip = { version = "0.5.13", default-features = false } zstd = { version = "0.9.0", default-features = false } tempfile = "3.2.0" -time = { version = "0.3.7", default-features = false } ignore = "0.4.18" indicatif = "0.16.2" +[target.'cfg(unix)'.dependencies] +time = { version = "0.3.7", default-features = false } + [build-dependencies] clap = { version = "3.0.4", features = ["derive", "env"] } clap_complete = "3.0.2"