mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
fix full_crypto (#4133)
* hopefully fixing api-client with this * another use statement needed * using full path for Vec * next try * yet again * cleanup
This commit is contained in:
@@ -41,9 +41,9 @@ pub trait AppKey: 'static + Send + Sync + Sized + CryptoType + Clone {
|
||||
}
|
||||
|
||||
/// Type which implements Hash in std, not when no-std (std variant).
|
||||
#[cfg(feature = "std")]
|
||||
#[cfg(any(feature = "std", feature = "full_crypto"))]
|
||||
pub trait MaybeHash: rstd::hash::Hash {}
|
||||
#[cfg(feature = "std")]
|
||||
#[cfg(any(feature = "std", feature = "full_crypto"))]
|
||||
impl<T: rstd::hash::Hash> MaybeHash for T {}
|
||||
|
||||
/// Type which implements Hash in std, not when no-std (no-std variant).
|
||||
|
||||
Reference in New Issue
Block a user