File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 66) ]
77#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
88#![ forbid( unsafe_code) ]
9+ #![ allow( async_fn_in_trait) ]
910#![ warn(
1011 clippy:: mod_module_files,
1112 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 {
189189/// (e.g. client for a Cloud KMS or HSM), returning a digital signature.
190190///
191191/// This trait is an async equivalent of the [`Signer`] trait.
192- #[ allow( async_fn_in_trait) ]
193192pub trait AsyncSigner < S > {
194193 /// Attempt to sign the given message, returning a digital signature on
195194 /// success, or an error if something went wrong.
@@ -212,7 +211,6 @@ where
212211///
213212/// This trait is an async equivalent of the [`DigestSigner`] trait.
214213#[ cfg( feature = "digest" ) ]
215- #[ allow( async_fn_in_trait) ]
216214pub trait AsyncDigestSigner < D , S >
217215where
218216 D : Digest ,
@@ -224,7 +222,6 @@ where
224222
225223/// Sign the given message using the provided external randomness source.
226224#[ cfg( feature = "rand_core" ) ]
227- #[ allow( async_fn_in_trait) ]
228225pub trait AsyncRandomizedSigner < S > {
229226 /// Sign the given message and return a digital signature
230227 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