-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (52 loc) · 2.26 KB
/
Copy pathCargo.toml
File metadata and controls
59 lines (52 loc) · 2.26 KB
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
[package]
name = "paper-age"
description = "Easy and secure paper backups of secrets"
version = "1.5.0"
edition = "2021"
rust-version = "1.74"
repository = "https://github.com/matiaskorhonen/paper-age"
authors = ["Matias Korhonen <me@matiaskorhonen.fi>"]
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},
]
[features]
default = ["cli"]
cli = ["dep:clap", "dep:clap-verbosity-flag", "dep:exitcode", "dep:rpassword", "dep:env_logger"]
[[bin]]
name = "paper-age"
path = "src/main.rs"
required-features = ["cli"]
[dependencies]
age = { version = "0.11.2", features = ["armor"] }
clap = { version = "4.5", features = ["derive"], optional = true }
clap-verbosity-flag = { version = "3.0", optional = true }
exitcode = { version = "1.1.2", optional = true }
printpdf = { version = "0.9.1", features = ["text_layout"], default-features = false }
qrcode = { version = "0.14.1", default-features = false }
rpassword = { version = "7", optional = true }
log = "0.4"
env_logger = { version = "0.11", optional = true }
[dev-dependencies]
assert_cmd = "2.1"
assert_fs = "1.1"
predicates = "3.1"
[build-dependencies]
clap = { version = "4.5", features = ["derive"] }
clap_complete = "4.5"
clap-verbosity-flag = "3.0"
clap_mangen = { version = "0.2" }
path-absolutize = "3.1"
printpdf = { version = "0.9.1", default-features = false }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"]}