refactor: hide pgp module from public API

This commit is contained in:
link2xt
2023-08-27 20:24:24 +00:00
parent bffe934acc
commit 62aed13880
4 changed files with 4 additions and 7 deletions

View File

@@ -24,7 +24,8 @@ use crate::keyring::Keyring;
use crate::tools::EmailAddress;
#[allow(missing_docs)]
pub const HEADER_AUTOCRYPT: &str = "autocrypt-prefer-encrypt";
#[cfg(test)]
pub(crate) const HEADER_AUTOCRYPT: &str = "autocrypt-prefer-encrypt";
#[allow(missing_docs)]
pub const HEADER_SETUPCODE: &str = "passphrase-begin";