-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
89 lines (78 loc) · 2.23 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
name = "kbs2"
description = "A secret manager backed by age"
license = "MIT"
homepage = "https://github.com/woodruffw/kbs2"
repository = "https://github.com/woodruffw/kbs2"
version = "0.7.3-rc.1"
authors = ["William Woodruff <[email protected]>"]
edition = "2021"
readme = "README.md"
keywords = ["cli", "password-manager", "crypto"]
categories = ["command-line-utilities", "cryptography"]
[package.metadata.release]
publish = false # handled by GitHub Actions
push = true
[[package.metadata.release.pre-release-replacements]]
file = "README.md"
# TODO: https://github.com/sunng87/cargo-release/issues/241
search = "\\d+\\.\\d+\\.\\d+"
replace = "{{version}}"
exactly = 3
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "Unreleased"
replace = "{{version}}"
exactly = 2
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "ReleaseDate"
replace = "{{date}}"
exactly = 1
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "\\.\\.\\.HEAD"
replace = "...{{tag_name}}"
exactly = 1
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- @next-header@ -->"
replace = "<!-- @next-header@ -->\n\n## [Unreleased] - ReleaseDate"
exactly = 1
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- @next-url@ -->"
replace = "<!-- @next-url@ -->\n[Unreleased]: https://github.com/woodruffw/kbs2/compare/{{tag_name}}...HEAD"
exactly = 1
[package.metadata.deb]
depends = "$auto, libxcb-shape0-dev, libxcb-xfixes0-dev"
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
age = { version = "0.10", features = ["armor"] }
anyhow = "1.0"
arboard = "3.4"
clap = { version = "4.5", features = ["deprecated", "env"] }
clap_complete = "4.5"
daemonize = "0.5"
env_logger = "0.10"
home = "0.5"
inquire = "0.6"
lazy_static = "1.5"
libc = "0.2"
log = "0.4"
nix = { version = "0.29", features = ["process", "user", "socket"] }
pinentry = "0.5"
rand = "0.8"
rpassword = "7.3"
secrecy = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
shellexpand = "3.1"
shell-words = "1.1"
tempfile = "3"
toml = "0.8"
whoami = "1.5"
xdg = "2.5"
[dev-dependencies]
assert_cmd = "2"