Revert back to rmp_serde::to_vec

This commit is contained in:
Michael Pfaff 2023-06-11 00:15:45 -04:00
parent 7b50417ba7
commit 413e0eaea5
Signed by: michael
GPG Key ID: CF402C4A012AA9D4
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ struct Message(Vec<u8>);
impl Message {
pub fn from_value<T: serde::Serialize>(value: &T) -> Result<Self> {
Ok(Self(rmp_serde::to_vec_named(value)?))
Ok(Self(rmp_serde::to_vec(value)?))
}
pub fn from_raw(data: Vec<u8>) -> Self {