Skip to content

Commit

Permalink
revert rmp-serde update
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Wójcik committed Dec 11, 2024
1 parent 28799f8 commit f6b4302
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ quanta = "0.9.2"
rand = "0.8.3"
rand_chacha = "0.3.0"
regex = "1"
rmp-serde = "1.3.0"
rmp-serde = "0.14.4"
schemars = { version = "0.8.16", features = ["preserve_order", "impl_json_schema"] }
serde = { version = "1", features = ["derive", "rc"] }
serde-big-array = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion node/src/components/network/message_pack_format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ where

#[inline]
fn deserialize(self: Pin<&mut Self>, src: &BytesMut) -> Result<M, Self::Error> {
rmp_serde::from_slice(src).map_err(|err| io::Error::new(io::ErrorKind::InvalidData, err))
rmp_serde::from_read_ref(src).map_err(|err| io::Error::new(io::ErrorKind::InvalidData, err))
}
}

0 comments on commit f6b4302

Please sign in to comment.