f81d6f09af
- Previously, there were two ways of generating manual pages. We used to use the upstream clap_mangen crate, but decided to develop our own custom formatter. However, we didn't quite switch to it, keeping the old mechanism in place and adding our new solution to sq, activated by a hidden environment variable. - This patch drops the upstream formatter, and uses the custom formatter during build time. First, our custom code can be tweaked easily to suit our needs, and switching back to the upstream solution is easy enough should it better suit our needs. Second, generating manual pages at build time should help cross-building environments.
98 lines
3.0 KiB
TOML
98 lines
3.0 KiB
TOML
[package]
|
|
name = "sequoia-sq"
|
|
description = "Command-line frontends for Sequoia"
|
|
version = "0.32.0"
|
|
authors = [
|
|
"Azul <azul@sequoia-pgp.org>",
|
|
"Heiko Schaefer <heiko@schaefer.name>",
|
|
"Igor Matuszewski <igor@sequoia-pgp.org>",
|
|
"Justus Winter <justus@sequoia-pgp.org>",
|
|
"Kai Michaelis <kai@sequoia-pgp.org>",
|
|
"Lars Wirzenius <liw@sequoia-pgp.org>",
|
|
"Neal H. Walfield <neal@sequoia-pgp.org>",
|
|
"Nora Widdecke <nora@sequoia-pgp.org>",
|
|
"Wiktor Kwapisiewicz <wiktor@sequoia-pgp.org>",
|
|
]
|
|
build = "build.rs"
|
|
documentation = "https://docs.rs/sequoia-sq"
|
|
homepage = "https://sequoia-pgp.org/"
|
|
repository = "https://gitlab.com/sequoia-pgp/sequoia-sq"
|
|
readme = "README.md"
|
|
keywords = ["cryptography", "openpgp", "pgp", "encryption", "signing"]
|
|
categories = ["cryptography", "authentication", "command-line-utilities"]
|
|
license = "LGPL-2.0-or-later"
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
|
|
[badges]
|
|
gitlab = { repository = "sequoia-pgp/sequoia-sq" }
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[dependencies]
|
|
buffered-reader = { version = "1.0.0", default-features = false, features = ["compression-deflate"] }
|
|
dirs = "5"
|
|
dot-writer = { version = "0.1.3", optional = true }
|
|
sequoia-openpgp = { version = "1.17", default-features = false, features = ["compression-deflate"] }
|
|
sequoia-autocrypt = { version = "0.25", default-features = false }
|
|
sequoia-net = { version = "0.28", default-features = false }
|
|
sequoia-policy-config = "0.6"
|
|
anyhow = "1.0.18"
|
|
chrono = "0.4.10"
|
|
clap = { version = "4", features = ["derive", "env", "string", "wrap_help"] }
|
|
humantime = "2"
|
|
itertools = ">=0.10, <0.13"
|
|
sequoia-cert-store = "0.4"
|
|
sequoia-wot = "0.9"
|
|
tempfile = "3.1"
|
|
tokio = { version = "1.13.1" }
|
|
rpassword = "7.0"
|
|
serde_json = "1.0.80"
|
|
serde = { version = "1.0.137", features = ["derive"] }
|
|
terminal_size = ">=0.2.6, <0.4"
|
|
is-terminal = "0.4.7"
|
|
termcolor = "1.2.0"
|
|
textwrap = "0.15"
|
|
|
|
[build-dependencies]
|
|
anyhow = "1.0.18"
|
|
buffered-reader = { version = "1.0.0", default-features = false, features = ["compression-deflate"] }
|
|
clap = { version = "4", features = ["derive", "env", "string", "wrap_help"] }
|
|
clap_complete = "4"
|
|
chrono = "0.4.10"
|
|
roff = "0.2.1"
|
|
serde = { version = "1.0.137", features = ["derive"] }
|
|
sequoia-openpgp = { version = "1.17", default-features = false }
|
|
sequoia-net = { version = "0.28", default-features = false }
|
|
subplot-build = { version = ">=0.7, <0.10", optional = true }
|
|
cfg-if = "1"
|
|
terminal_size = ">=0.2.6, <0.4"
|
|
|
|
[dev-dependencies]
|
|
subplotlib = ">=0.7, <0.10"
|
|
fehler = "1.0.0"
|
|
assert_cmd = "2"
|
|
predicates = ">=2, <4"
|
|
|
|
[[bin]]
|
|
name = "sq"
|
|
path = "src/sq.rs"
|
|
bench = false
|
|
|
|
[features]
|
|
default = [
|
|
"crypto-nettle",
|
|
"compression-bzip2",
|
|
"dot-writer",
|
|
]
|
|
crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
|
|
crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
|
|
crypto-botan = ["sequoia-openpgp/crypto-botan"]
|
|
crypto-botan2 = ["sequoia-openpgp/crypto-botan2"]
|
|
crypto-cng = ["sequoia-openpgp/crypto-cng"]
|
|
crypto-rust = ["sequoia-openpgp/crypto-rust"]
|
|
compression-bzip2 = ["sequoia-openpgp/compression-bzip2"]
|
|
subplot = ["subplot-build"]
|
|
|
|
[profile.release]
|
|
debug = true
|