Array::from_slice is deprecated it's suggested to use Array::try_from but try::from &[u8] is not satisfied.
I encountered frustration using ml-kem crate trying to serialize and deserialize encapsulation key and the cipher_text
I was unable to find any standard way to achieve that so I just turned off the warning by adding #[allow(deprecated)]
Array::from_slice is deprecated it's suggested to use Array::try_from but try::from &[u8] is not satisfied.
I encountered frustration using
ml-kemcrate trying to serialize and deserialize encapsulation key and the cipher_textI was unable to find any standard way to achieve that so I just turned off the warning by adding
#[allow(deprecated)]