Uh oh!
There was an error while loading. Please reload this page.
Conversation
| } | ||
| /// Trait for types which can be created from key. | ||
| pub trait FromKey: Sized { |
newpavlov
commented
Feb 11, 2021
Argh, because impl<C>FromKeyNonceforCwhereC:FromBlockCipherNonce,C::BlockCipher:FromKey,{ .. }I hope such implementations (when generic type is bound by a trait defined in the current crate) will be allowed one day. We could use it for generic implementation of |
tarcieri
commented
Feb 11, 2021
@newpavlov failing everything else there's always macros |
newpavlov
commented
Feb 11, 2021
Well, on a plus side with the macro approach we do not need the It looks like this PR is more or less ready, but before merging I would like to try migrate the downstream crates first. |
Closes#536
Closes#259
Closes#503