Skip to content

Commit

Permalink
Bump RaptorQ and simple_logger
Browse files Browse the repository at this point in the history
  • Loading branch information
r3dlight committed Jul 8, 2024
1 parent b2be60a commit d44cd3e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ fasthash = "0.4"
libc = "0.2"
log = "0.4"
rand = "0.8"
raptorq = "1.8"
simple_logger = "4"
raptorq = "2"
simple_logger = "5"

[profile.release]
lto = true
Expand Down
2 changes: 1 addition & 1 deletion src/receive/decoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub(crate) fn start<F>(receiver: &receive::Receiver<F>) -> Result<(), receive::E
packets.len()
);

let mut decoder = raptorq::SourceBlockDecoder::new2(
let mut decoder = raptorq::SourceBlockDecoder::new(
block_id,
&receiver.object_transmission_info,
encoding_block_size,
Expand Down
2 changes: 1 addition & 1 deletion src/send/encoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub(crate) fn start<C>(sender: &send::Sender<C>) -> Result<(), send::Error> {

log::trace!("encoding a serialized block of {} bytes", data.len());

let encoder = raptorq::SourceBlockEncoder::with_encoding_plan2(
let encoder = raptorq::SourceBlockEncoder::with_encoding_plan(
block_id,
&sender.object_transmission_info,
data,
Expand Down

0 comments on commit d44cd3e

Please sign in to comment.