From 6482a10834aefb6c731fa765c8b12c6aa894ef02 Mon Sep 17 00:00:00 2001 From: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com> Date: Sun, 30 Apr 2023 17:39:41 +0200 Subject: [PATCH] more optional deps --- git-cliff-core/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git-cliff-core/Cargo.toml b/git-cliff-core/Cargo.toml index 4e755356..335ab4e8 100644 --- a/git-cliff-core/Cargo.toml +++ b/git-cliff-core/Cargo.toml @@ -12,10 +12,10 @@ rust-version = "1.64.0" [features] default = ["repo"] -repo = ["dep:git2"] +repo = ["dep:git2", "dep:glob", "dep:indexmap"] [dependencies] -glob.workspace = true +glob = { workspace = true, optional = true } regex.workspace = true log.workspace = true thiserror = "1.0.40" @@ -23,7 +23,7 @@ serde = { version = "1.0.160", features = ["derive"] } serde_json = "1.0.96" serde_regex = "1.1.0" tera = "1.18.1" -indexmap = "1.9.3" +indexmap = { version = "1.9.3", optional = true } toml = "0.7.3" lazy-regex = "2.5.0"