summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 8afb26b91fa1b7e1ae886f7c20f4674a9f52719c (plain)
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
[package]
name = "gpg-tui"
version = "0.9.5"
description = "Manage your GnuPG keys with ease!"
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/gpg-tui"
homepage = "https://github.com/orhun/gpg-tui"
repository = "https://github.com/orhun/gpg-tui"
keywords = ["gnupg", "gpg", "tui", "key", "management"]
categories = ["command-line-utilities"]
include = [
  "src/**/*",
  "assets/*",
  "Cargo.*",
  "LICENSE",
  "README.md",
  "CHANGELOG.md",
]
edition = "2021"
default-run = "gpg-tui"
rust-version = "1.64.0"

[[bin]]
name = "gpg-tui-completions"
path = "src/bin/completions.rs"
test = false

[features]
tui-tests = []
gpg-tests = []

[dependencies]
gpgme = "0.11.0"
tui = { package = "ratatui", version = "0.20.1" }
anyhow = "1.0.71"
chrono = "0.4.24"
unicode-width = "0.1.10"
copypasta-ext = "0.4.4"
colorsys = "0.6.7"
rust-embed = "6.6.1"
shellexpand = "3.1.0"
hex-literal = "0.4.1"
toml = "0.7.4"
dirs-next = "2.0.0"
clap_complete = "4.3.0"
tinytemplate = "1.2.1"

[dependencies.crossterm]
version = "0.26.1"
features = ["serde"]

[dependencies.clap]
version = "4.3.0"
features = ["derive", "env", "wrap_help", "cargo"]

[dependencies.image]
version = "0.24.6"
default-features = false
features = ["jpeg"]

[dependencies.serde]
version = "1.0.163"
features = ["derive"]

[dev-dependencies]
pretty_assertions = "1.3.0"

[profile.dev]
opt-level = 0
debug = true
panic = "abort"

[profile.test]
opt-level = 0
debug = true

[profile.release]
opt-level = 3
debug = false
panic = "abort"
lto = true
codegen-units = 1

[profile.bench]
opt-level = 3
debug = false