forked from crate-ci/cargo-release
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (64 loc) · 2.25 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
64
65
66
67
[package]
name = "cargo-release"
description = "Cargo subcommand for you to smooth your release process."
version = "0.23.1"
license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/cargo-release"
readme = "README.md"
categories = ["development-tools::cargo-plugins"]
keywords = ["cargo"]
edition = "2021"
rust-version = "1.64.0" # MSRV
include = [
"src/**/*",
"Cargo.toml",
"Cargo.lock",
"LICENSE*",
"README.md",
"examples/**/*"
]
[package.metadata.release]
pre-release-replacements = [
{file="README.md", search="Current release: [a-z0-9\\.-]+", replace="Current release: {{version}}"} ,
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/crate-ci/cargo-release/compare/{{tag_name}}...HEAD", exactly=1},
]
[dependencies]
cargo_metadata = "0.15"
crates-index = "0.18"
# Enabling the feature for `crates-index`
git2 = { version = "0.15.0", features = ["vendored-libgit2"], default-features = false }
toml_edit = { version = "0.15.0", features = ["easy"] }
serde = { version = "1.0", features = ["derive"] }
semver = "1.0"
quick-error = "2.0"
regex = "1.6"
bstr = "1.0.1"
termcolor = "1.1.3"
maplit = "1.0"
indexmap = "1.9"
time = { version = "0.3", features = ["formatting", "macros"] }
dirs-next = "2.0"
ignore = "0.4"
difflib = "0.4"
itertools = "0.10"
once_cell = "1.16.0"
clap = { version = "4.0.18", features = ["derive", "wrap_help"] }
clap-cargo = { version = "0.10.0", features = ["cargo_metadata"] }
log = "0.4"
env_logger = "0.9"
globset = { version = "0.4.9", default-features = false }
dunce = "1.0.3"
trycmd = "0.14.1"
anyhow = "1.0.66"
concolor-control = { version = "0.0.7", features = ["auto"] }
git-conventional = "0.12.0"
[dev-dependencies]
assert_fs = "1.0"
predicates = "2.1"
cargo-test-macro.git = "https://github.com/rust-lang/cargo"
cargo-test-support.git = "https://github.com/rust-lang/cargo"
snapbox = "0.4.0"