In sha3 1.10.5 the Shake256Reader type alias expands to XofReaderCoreWrapper<Shake256Core>, but this produces the following type error when used:
the trait bound `Shake256Core: XofReaderCore` is not satisfied
the following other types implement trait `XofReaderCore`:
CShake128ReaderCore
CShake256ReaderCore
Shake128ReaderCore
Shake256ReaderCore
In the impl_shake macro this is defined by:
pub type $reader_full = XofReaderCoreWrapper<$name>;
Which I suspect should be:
pub type $reader_full = XofReaderCoreWrapper<$reader>;
As a workaround, I am just redefining the type alias as such:
type Shake256Reader = sha3::digest::core_api::XofReaderCoreWrapper<sha3::Shake256ReaderCore>;
In
sha3
1.10.5 theShake256Reader
type alias expands toXofReaderCoreWrapper<Shake256Core>
, but this produces the following type error when used:In the
impl_shake
macro this is defined by:Which I suspect should be:
As a workaround, I am just redefining the type alias as such: