1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-30 12:29:40 +02:00

cargo: bump the minor group across 1 directory with 3 updates (#2459)

Bumps the minor group with 3 updates in the / directory:
[tokio](https://github.com/tokio-rs/tokio),
[zerocopy](https://github.com/google/zerocopy) and
[scraper](https://github.com/causal-agent/scraper).

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <qwandor@google.com>
This commit is contained in:
dependabot[bot]
2024-11-04 10:28:53 +00:00
committed by GitHub
parent f7d2ab541a
commit b6b4381722
6 changed files with 79 additions and 51 deletions

View File

@ -5,4 +5,4 @@ edition = "2021"
publish = false
[dependencies]
zerocopy = { version = "0.7.35", features = ["derive"] }
zerocopy = { version = "0.8.8", features = ["derive"] }

View File

@ -15,10 +15,10 @@
#![allow(dead_code)]
// ANCHOR: main
use zerocopy::AsBytes;
use zerocopy::{Immutable, IntoBytes};
#[repr(u32)]
#[derive(AsBytes, Debug, Default)]
#[derive(Debug, Default, Immutable, IntoBytes)]
enum RequestType {
#[default]
In = 0,
@ -27,7 +27,7 @@ enum RequestType {
}
#[repr(C)]
#[derive(AsBytes, Debug, Default)]
#[derive(Debug, Default, Immutable, IntoBytes)]
struct VirtioBlockRequest {
request_type: RequestType,
reserved: u32,

View File

@ -6,5 +6,5 @@ edition = "2021"
[dependencies]
futures-util = { version = "0.3.31", features = ["sink"] }
http = "1.1.0"
tokio = { version = "1.40.0", features = ["full"] }
tokio = { version = "1.41.0", features = ["full"] }
tokio-websockets = { version = "0.10.1", features = ["client", "fastrand", "server", "sha1_smol"] }

View File

@ -14,7 +14,7 @@ path = "link-checker.rs"
[dependencies]
reqwest = { version = "0.12.9", features = ["blocking"] }
scraper = "0.20.0"
scraper = "0.21.0"
thiserror = "1.0.66"
[dev-dependencies]