From d44cd3e4a08e721d578e8701e3b3ab925550c1ec Mon Sep 17 00:00:00 2001 From: sn-anssi Date: Mon, 8 Jul 2024 12:30:11 +0200 Subject: [PATCH] Bump RaptorQ and simple_logger --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- src/receive/decoding.rs | 2 +- src/send/encoding.rs | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 25826f9..226321b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -340,9 +340,9 @@ dependencies = [ [[package]] name = "raptorq" -version = "1.8.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c9cf9270cc5903afdef387f06ef1cd89fb77f45c357c2a425bae78b839fd866" +checksum = "90b1b1fad69672f0b901b5004863ea4307f03d168a3db5f2bcba4d3dfed88e97" [[package]] name = "rdrand" @@ -381,9 +381,9 @@ dependencies = [ [[package]] name = "simple_logger" -version = "4.3.3" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e7e46c8c90251d47d08b28b8a419ffb4aede0f87c2eea95e17d1d5bacbf3ef1" +checksum = "e8c5dfa5e08767553704aa0ffd9d9794d527103c736aba9854773851fd7497eb" dependencies = [ "colored", "log", diff --git a/Cargo.toml b/Cargo.toml index 2f03e0f..2b7b27e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 diff --git a/src/receive/decoding.rs b/src/receive/decoding.rs index 26c209b..0322bbb 100644 --- a/src/receive/decoding.rs +++ b/src/receive/decoding.rs @@ -13,7 +13,7 @@ pub(crate) fn start(receiver: &receive::Receiver) -> 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, diff --git a/src/send/encoding.rs b/src/send/encoding.rs index c0cb234..251107d 100644 --- a/src/send/encoding.rs +++ b/src/send/encoding.rs @@ -43,7 +43,7 @@ pub(crate) fn start(sender: &send::Sender) -> 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,