Show crypto backend and new compiler features in debug command
This commit is contained in:
parent
da21dd894b
commit
b18265ab74
2 changed files with 13 additions and 0 deletions
|
@ -98,6 +98,15 @@ impl<'a> Debug<'a> {
|
|||
Cell::new(&api_version_list().join(", ")),
|
||||
]));
|
||||
|
||||
// Show used crypto backend
|
||||
table.add_row(Row::new(vec![
|
||||
Cell::new("Crypto backend:"),
|
||||
#[cfg(feature = "crypto-ring")]
|
||||
Cell::new("ring"),
|
||||
#[cfg(feature = "crypto-openssl")]
|
||||
Cell::new("OpenSSL"),
|
||||
]));
|
||||
|
||||
// Clipboard information
|
||||
#[cfg(feature = "clipboard-bin")]
|
||||
table.add_row(Row::new(vec![
|
||||
|
|
|
@ -1070,6 +1070,10 @@ pub fn features_list() -> Vec<&'static str> {
|
|||
features.push("send2");
|
||||
#[cfg(feature = "send3")]
|
||||
features.push("send3");
|
||||
#[cfg(feature = "crypto-ring")]
|
||||
features.push("crypto-ring");
|
||||
#[cfg(feature = "crypto-openssl")]
|
||||
features.push("crypto-openssl");
|
||||
|
||||
features
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue