summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2022-05-11 15:57:29 +0200
committerJustus Winter <justus@sequoia-pgp.org>2022-05-11 15:57:29 +0200
commit8f8e46bf43b9908827f576e4f8b3629df01ed3ee (patch)
treec04913d4d000916220263fe05400af796c48c8a9
parent119b59a2c8403ee69f788106f8192949e3b40c34 (diff)
sq: Add the cryptographic backend to the version string.
-rw-r--r--sq/src/sq_cli.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/sq/src/sq_cli.rs b/sq/src/sq_cli.rs
index d154ac5c..e9904085 100644
--- a/sq/src/sq_cli.rs
+++ b/sq/src/sq_cli.rs
@@ -23,9 +23,10 @@ pub fn configure(
feature_autocrypt: bool,
) -> App<'static, 'static> {
let version = Box::leak(
- format!("{} (sequoia-openpgp {})",
+ format!("{} (sequoia-openpgp {}, using {})",
env!("CARGO_PKG_VERSION"),
- sequoia_openpgp::VERSION)
+ sequoia_openpgp::VERSION,
+ sequoia_openpgp::crypto::backend())
.into_boxed_str()) as &str;
let app = app