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:
brenzi
2019-11-19 09:33:56 +01:00
committed by Bastian Köcher
parent 566328cd3e
commit 10925510de
2 changed files with 3 additions and 3 deletions
@@ -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).