@@ -108,6 +108,7 @@ pub(crate) type Utf8Bytes = Bytes<Utf8ContentFormat>;
108
108
pub struct OctetStreamContentFormat ;
109
109
impl private:: Sealed for OctetStreamContentFormat { }
110
110
impl ConstContentFormat for OctetStreamContentFormat {
111
+ #[ allow( private_interfaces) ]
111
112
fn content_format ( ) -> ContentFormat {
112
113
ContentFormat :: OctetStream
113
114
}
@@ -121,7 +122,7 @@ pub type OctetStreamBytes = Bytes<OctetStreamContentFormat>;
121
122
pub struct Pkcs8PrivateKeyDerContentFormat ;
122
123
impl private:: Sealed for Pkcs8PrivateKeyDerContentFormat { }
123
124
impl ConstContentFormat for Pkcs8PrivateKeyDerContentFormat {
124
- #[ allow( exported_private_dependencies ) ]
125
+ #[ allow( private_interfaces ) ]
125
126
fn content_format ( ) -> ContentFormat {
126
127
ContentFormat :: Pkcs8PrivateKey
127
128
}
@@ -135,6 +136,7 @@ pub type Pkcs8PrivateKeyBytes = Bytes<Pkcs8PrivateKeyDerContentFormat>;
135
136
pub struct SpkiPublicKeyDerContentFormat ;
136
137
impl private:: Sealed for SpkiPublicKeyDerContentFormat { }
137
138
impl ConstContentFormat for SpkiPublicKeyDerContentFormat {
139
+ #[ allow( private_interfaces) ]
138
140
fn content_format ( ) -> ContentFormat {
139
141
ContentFormat :: SPKIPublicKeyDer
140
142
}
@@ -148,6 +150,7 @@ pub type SpkiPublicKeyBytes = Bytes<SpkiPublicKeyDerContentFormat>;
148
150
pub struct CoseKeyContentFormat ;
149
151
impl private:: Sealed for CoseKeyContentFormat { }
150
152
impl ConstContentFormat for CoseKeyContentFormat {
153
+ #[ allow( private_interfaces) ]
151
154
fn content_format ( ) -> ContentFormat {
152
155
ContentFormat :: CoseKey
153
156
}
@@ -162,6 +165,7 @@ pub type CoseKeyBytes = Bytes<CoseKeyContentFormat>;
162
165
pub struct BitwardenLegacyKeyContentFormat ;
163
166
impl private:: Sealed for BitwardenLegacyKeyContentFormat { }
164
167
impl ConstContentFormat for BitwardenLegacyKeyContentFormat {
168
+ #[ allow( private_interfaces) ]
165
169
fn content_format ( ) -> ContentFormat {
166
170
ContentFormat :: BitwardenLegacyKey
167
171
}
@@ -176,6 +180,7 @@ pub type BitwardenLegacyKeyBytes = Bytes<BitwardenLegacyKeyContentFormat>;
176
180
pub struct CoseSign1ContentFormat ;
177
181
impl private:: Sealed for CoseSign1ContentFormat { }
178
182
impl ConstContentFormat for CoseSign1ContentFormat {
183
+ #[ allow( private_interfaces) ]
179
184
fn content_format ( ) -> ContentFormat {
180
185
ContentFormat :: CoseSign1
181
186
}
0 commit comments