-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
38 lines (33 loc) · 1.28 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
[package]
name = "git-cache"
version = "0.2.3"
edition = "2021"
authors = ["Kaspar Schleiser <kaspar@schleiser.de>"]
description = "A git clone cache"
repository = "https://github.com/kaspar030/git-cache-rs"
homepage = "https://github.com/kaspar030/git-cache-rs"
license = "Apache-2.0"
readme = "README.md"
include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]
[dependencies]
anyhow = "1.0.94"
camino = { version = "1.1.9", features = ["serde"] }
clap = { version = "4.5.23", features = ["cargo", "env", "string"] }
derive_builder = "0.20.2"
fd-lock = "4.0.2"
shellexpand = "3.1.0"
url = "2.5.4"
[profile.release]
strip=true
lto=true
[package.metadata.release]
sign-commit = true
sign-tag = true
tag-name = "{{prefix}}{{version}}"
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/kaspar030/git-cache-rs/compare/{{tag_name}}...HEAD", exactly=1},
]