/
Cargo.toml
63 lines (58 loc) · 1.8 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 = "convco"
version = "0.5.1"
description = "Conventional commit tools"
keywords = ["conventional", "commit", "changelog", "semantic", "versioning"]
categories = ["development-tools::build-utils"]
readme = "README.md"
homepage = "https://convco.github.io"
repository = "https://github.com/convco/convco.git"
license = "MIT"
authors = ["Hannes De Valkeneer <hannes@de-valkeneer.be>"]
edition = "2021"
include = [
"build.rs",
"src/*",
"README.md",
"LICENSE"
]
rust-version = "1.60" # for `--features`
[dependencies]
anyhow = { version = "1.0.81", features = ["backtrace"] }
clap = { version = "4.5.2", features = ["derive", "env"] }
ctrlc = "3.4.4"
dialoguer = "0.11.0"
git2 = { version = "0.18.2", default-features = false }
handlebars = "5.1.0"
regex = "1.10.4"
semver = "1.0.22"
serde = { version = "1.0.197", features = ["derive"] }
serde_yaml = "0.9.32"
thiserror = "1.0.58"
time = { version = "0.3.31", features = [ "serde-human-readable" ] }
url = "2.5.0"
walkdir = "2.5.0"
[build-dependencies]
clap = { version = "4.5.2", features = ["derive", "env"] }
clap_complete = "4.5.1"
semver = "1.0.22"
[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
["target/x86_64-unknown-linux-musl/release/convco", "/usr/local/bin/", "755"],
# completions
["target/completions/convco.bash", "/usr/share/bash-completion/completions/", "644"],
["target/completions/_convco", "/usr/share/zsh/vendor-completions/", "644"],
["target/completions/convco.fish", "/usr/share/fish/completions/", "644"],
]