File tree 2 files changed +1
-3
lines changed 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 6
6
) ]
7
7
#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
8
8
#![ forbid( unsafe_code) ]
9
+ #![ allow( async_fn_in_trait) ]
9
10
#![ warn(
10
11
clippy:: mod_module_files,
11
12
clippy:: unwrap_used,
Original file line number Diff line number Diff line change @@ -189,7 +189,6 @@ impl<S, T: RandomizedSigner<S>> RandomizedSignerMut<S> for T {
189
189
/// (e.g. client for a Cloud KMS or HSM), returning a digital signature.
190
190
///
191
191
/// This trait is an async equivalent of the [`Signer`] trait.
192
- #[ allow( async_fn_in_trait) ]
193
192
pub trait AsyncSigner < S > {
194
193
/// Attempt to sign the given message, returning a digital signature on
195
194
/// success, or an error if something went wrong.
@@ -212,7 +211,6 @@ where
212
211
///
213
212
/// This trait is an async equivalent of the [`DigestSigner`] trait.
214
213
#[ cfg( feature = "digest" ) ]
215
- #[ allow( async_fn_in_trait) ]
216
214
pub trait AsyncDigestSigner < D , S >
217
215
where
218
216
D : Digest ,
@@ -224,7 +222,6 @@ where
224
222
225
223
/// Sign the given message using the provided external randomness source.
226
224
#[ cfg( feature = "rand_core" ) ]
227
- #[ allow( async_fn_in_trait) ]
228
225
pub trait AsyncRandomizedSigner < S > {
229
226
/// Sign the given message and return a digital signature
230
227
async fn sign_with_rng_async < R : CryptoRng + ?Sized > ( & self , rng : & mut R , msg : & [ u8 ] ) -> S {
You can’t perform that action at this time.
0 commit comments