-
-
Notifications
You must be signed in to change notification settings - Fork 317
Expand file tree
/
Copy pathCargo.toml
More file actions
122 lines (113 loc) · 3.87 KB
/
Copy pathCargo.toml
File metadata and controls
122 lines (113 loc) · 3.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[package]
name = "git-cliff-core"
version = "2.13.1" # managed by release.sh
description = "Core library of git-cliff"
authors = ["git-cliff contributors <git-cliff@protonmail.com>"]
license = "MIT OR Apache-2.0"
readme = "../README.md"
homepage = "https://github.com/orhun/git-cliff"
repository = "https://github.com/orhun/git-cliff"
keywords = ["changelog", "generator", "conventional", "commit"]
edition = "2024"
rust-version = "1.87.0"
[features]
default = ["repo"]
## Enable parsing commits from a git repository.
## You can turn this off if you already have the commits to put in the
## changelog and you don't need `git-cliff` to parse them.
repo = ["dep:git2"]
# Enable integration with remote repositories.
remote = [
"dep:reqwest",
"dep:http-cache-reqwest",
"dep:reqwest-middleware",
"dep:tokio",
"dep:futures",
"dep:async-stream",
]
## Enable integration with GitHub.
## You can turn this off if you don't use GitHub and don't want
## to make network requests to the GitHub API.
github = ["remote"]
## Enable integration with GitLab.
## You can turn this off if you don't use GitLab and don't want
## to make network requests to the GitLab API.
gitlab = ["remote"]
## Enable integration with Bitbucket.
## You can turn this off if you don't use Bitbucket and don't want
## to make network requests to the Bitbucket API.
bitbucket = ["remote"]
## Enable integration with Gitea.
## You can turn this off if you don't use Gitea and don't want
## to make network requests to the Gitea API.
gitea = ["remote"]
## Enable integration with Azure DevOps.
## You can turn this off if you don't use Azure DevOps and don't want
## to make network requests to the Azure DevOps API.
azure_devops = ["remote"]
## Enable tracing instrumentation in git-cliff-core.
## This is intentionally feature-gated to keep the core library
## lightweight and to allow downstream users to opt in to tracing.
tracing = []
## Enable integration with tracing-indicatif.
## This adds progress reporting for tracing spans using indicatif.
## You can turn this off if you don't need progress output.
tracing-indicatif = ["tracing", "dep:tracing-indicatif"]
[dependencies]
glob.workspace = true
regex.workspace = true
secrecy.workspace = true
etcetera.workspace = true
thiserror = "2.0.17"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
bincode = "2.0.1"
serde_regex = "1.1.0"
tera = "1.20.1"
indexmap = { version = "2.14.0", features = ["serde"] }
toml = "0.9.8"
next_version = "0.3.2"
semver = "1.0.27"
document-features = { version = "0.2.12", optional = true }
reqwest = { workspace = true, optional = true }
http-cache-reqwest = { version = "0.15.0", optional = true }
reqwest-middleware = { version = "0.4.0", optional = true }
tokio = { version = "1.50.0", features = [
"rt-multi-thread",
"macros",
], optional = true }
futures = { version = "0.3.31", optional = true }
async-stream = { version = "0.3.6", optional = true }
url.workspace = true
dyn-clone = "1.0.17"
urlencoding = "2.1.3"
# `tokio-runtime` is already enabled transitively by the CLI. This just avoids runtime-less build failures.
# See: https://github.com/zkat/cacache-rs/issues/92
cacache = { version = "13.1.0", features = ["mmap", "tokio-runtime"], default-features = false }
time = "0.3.44"
chrono = { version = "0.4.41", features = ["serde"] }
tracing.workspace = true
tracing-indicatif = { workspace = true, optional = true }
[dependencies.git2]
version = "0.20.3"
default-features = false
optional = true
[dependencies.config]
version = "0.15.19"
default-features = false
features = ["toml", "yaml"]
[dependencies.git-conventional]
version = "0.12.7"
features = ["serde"]
[dependencies.rust-embed]
version = "8.11.0"
features = ["debug-embed", "compression"]
[dev-dependencies]
pretty_assertions = "1.4.1"
expect-test = "1.5.1"
temp-dir = "0.1.16"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints]
workspace = true