-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (58 loc) · 1.95 KB
/
Cargo.toml
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
[package]
name = "gitcoco"
version = "0.1.4"
description = "GitCoco: A Rust-based CLI for Conventional Commits, making commit standardization effortless and consistent for seamless project versioning and collaboration."
keywords = ["conventional", "commit", "changelog", "semantic", "versioning"]
categories = ["development-tools::build-utils"]
readme = "README.md"
homepage = "https://trinhminhtriet.com"
repository = "https://github.com/trinhminhtriet/gitcoco"
license = "MIT"
authors = ["Triet Trinh <[email protected]>"]
edition = "2021"
include = [
"build.rs",
"src/*",
"README.md",
"LICENSE"
]
rust-version = "1.60" # for `--features`
[dependencies]
anyhow = { version = "1.0.92", features = ["backtrace"] }
clap = { version = "4.5.20", features = ["derive", "env"] }
ctrlc = "3.4.5"
dialoguer = { version = "0.11.0", features = ["fuzzy-select"] }
git2 = { version = "0.19.0", default-features = false }
handlebars = "6.2.0"
regex = "1.11.1"
semver = "1.0.23"
serde = { version = "1.0.214", features = ["derive"] }
serde_yaml = "0.9.34"
thiserror = "1.0.66"
time = { version = "0.3.36", features = [ "serde-human-readable" ] }
url = "2.5.2"
walkdir = "2.5.0"
[build-dependencies]
clap = { version = "4.5.20", features = ["derive", "env"] }
clap_complete = "4.5.36"
semver = "1.0.23"
[features]
default = ["zlib-ng-compat"]
zlib-ng-compat = ["git2/zlib-ng-compat"]
[profile.release]
strip = true
[package.metadata.deb]
depends = ""
extended-description = """\
Conventional commit tools. \
Create a changelog. \
Check if commits follow the convention. \
Calculate the next version based on the conventional commits."""
assets = [
# bin
["bin/gitcoco", "/usr/local/bin/", "755"],
# completions
["target/completions/gitcoco.bash", "/usr/share/bash-completion/completions/", "644"],
["target/completions/_gitcoco", "/usr/share/zsh/vendor-completions/", "644"],
["target/completions/gitcoco.fish", "/usr/share/fish/completions/", "644"],
]