1
1
mirror of https://github.com/orhun/git-cliff.git synced 2025-01-06 01:04:10 +03:00

more optional deps

This commit is contained in:
Marco Ieni 2023-04-30 17:39:41 +02:00
parent 5fdf39ae32
commit 6482a10834
No known key found for this signature in database
GPG Key ID: 7D2670571BFC49B1

View File

@ -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"