refactor: hide DcSecretKey trait from the API

This commit is contained in:
link2xt
2023-07-29 18:10:25 +00:00
parent b784415c57
commit af013559de

View File

@@ -164,7 +164,7 @@ impl DcKey for SignedSecretKey {
/// Deltachat extension trait for secret keys.
///
/// Provides some convenience wrappers only applicable to [SignedSecretKey].
pub trait DcSecretKey {
pub(crate) trait DcSecretKey {
/// Create a public key from a private one.
fn split_public_key(&self) -> Result<SignedPublicKey>;
}