-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
47 lines (43 loc) · 1.77 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
[package]
name = "paper-age"
description = "Easy and secure paper backups of secrets"
version = "1.3.3"
edition = "2021"
rust-version = "1.74"
repository = "https://github.com/matiaskorhonen/paper-age"
authors = ["Matias Korhonen <[email protected]>"]
license = "MIT"
categories = ["command-line-utilities", "cryptography"]
[package.metadata.release]
pre-release-commit-message = "Release {{crate_name}} version {{version}}"
tag-message = "Release {{crate_name}} version {{version}}"
sign-tag = true
pre-release-replacements = [
{file="README.md", search="download/v[0-9\\.-]+/paper-age", replace="download/{{tag_name}}/paper-age", min=3} ,
{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/matiaskorhonen/paper-age/compare/{{tag_name}}...HEAD", exactly=1},
]
[dependencies]
age = { version = "0.10.0", features = ["armor"] }
clap = { version = "4.5", features = ["derive"] }
clap-verbosity-flag = "2.2"
exitcode = "1.1.2"
printpdf = { version = "0.7.0", features = ["svg", "font_subsetting"] }
qrcode = "0.14.1"
rpassword = "7"
log = "0.4"
env_logger = "0.11"
[dev-dependencies]
assert_cmd = "2.0"
assert_fs = "1.1"
predicates = "3.1"
[build-dependencies]
clap = { version = "4.5", features = ["derive"] }
clap_complete = "4.5"
clap-verbosity-flag = "2.2"
clap_mangen = { version = "0.2" }
path-absolutize = "3.1"
printpdf = { version = "0.7.0", features = ["svg"] }