From 87007a288f2b32a36114e47cb1c3186932522a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 25 Apr 2025 20:18:15 +0200 Subject: [PATCH] build: Bump micro-http crate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the coming patches in this series will take advantage of a status code that was recently added there. Signed-off-by: Fabiano FidĂȘncio --- Cargo.lock | 2 +- fuzz/Cargo.lock | 58 +++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 47 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d1913a315..5f168d02d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1234,7 +1234,7 @@ dependencies = [ [[package]] name = "micro_http" version = "0.1.0" -source = "git+https://github.com/firecracker-microvm/micro-http?branch=main#ef96f623c46e221ebf9b6037567f97ec57683afd" +source = "git+https://github.com/firecracker-microvm/micro-http?branch=main#4f621532e81ee2ad096a9c9592fdacc40d19de48" dependencies = [ "libc", "vmm-sys-util", diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 8e17a203a..3274fffe9 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -103,6 +103,17 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +[[package]] +name = "bitfield-struct" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2be5a46ba01b60005ae2c51a36a29cfe134bcacae2dd5cedcd4615fbaad1494b" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -111,9 +122,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" [[package]] name = "block" @@ -291,7 +302,7 @@ dependencies = [ "acpi_tables", "anyhow", "arch", - "bitflags 2.6.0", + "bitflags 2.9.0", "byteorder", "event_monitor", "hypervisor", @@ -335,7 +346,7 @@ version = "4.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74351c3392ea1ff6cd2628e0042d268ac2371cb613252ff383b6dfa50d22fa79" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", "libc", ] @@ -398,7 +409,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbcc892208d6998fb57e7c3e05883def66f8130924bba066beb0cfe71566a9f6" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", "cfg-if", "log", "managed", @@ -453,6 +464,7 @@ version = "0.1.0" dependencies = [ "anyhow", "arc-swap", + "bitfield-struct", "byteorder", "cfg-if", "concat-idents", @@ -462,6 +474,7 @@ dependencies = [ "libc", "log", "mshv-bindings", + "open-enum", "serde", "serde_json", "serde_with", @@ -469,6 +482,7 @@ dependencies = [ "vfio-ioctls", "vm-memory", "vmm-sys-util", + "zerocopy 0.8.24", ] [[package]] @@ -543,7 +557,7 @@ version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e013ae7fcd2c6a8f384104d16afe7ea02969301ea2bb2a56e44b011ebc907cab" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", "kvm-bindings", "libc", "vmm-sys-util", @@ -623,7 +637,7 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "micro_http" version = "0.1.0" -source = "git+https://github.com/firecracker-microvm/micro-http?branch=main#8182cd5523b63ceb52ad9d0e7eb6fb95683e6d1b" +source = "git+https://github.com/firecracker-microvm/micro-http?branch=main#4f621532e81ee2ad096a9c9592fdacc40d19de48" dependencies = [ "libc", "vmm-sys-util", @@ -631,9 +645,9 @@ dependencies = [ [[package]] name = "mshv-bindings" -version = "0.3.4" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c369385758f81ca937414dc2147737c92032e4fb399669f287abf94d89252d" +checksum = "577073a0abbf515d17bfe96ca2ce49c44a68454d4179e95ce1244e858a9ebd4e" dependencies = [ "libc", "num_enum", @@ -714,6 +728,26 @@ version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +[[package]] +name = "open-enum" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eb2508143a400b3361812094d987dd5adc81f0f5294a46491be648d6c94cab5" +dependencies = [ + "open-enum-derive", +] + +[[package]] +name = "open-enum-derive" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d1296fab5231654a5aec8bf9e87ba4e3938c502fc4c3c0425a00084c78944be" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "option_parser" version = "0.1.0" @@ -1131,7 +1165,7 @@ name = "vhost" version = "0.12.1" source = "git+https://github.com/rust-vmm/vhost?rev=d983ae0#d983ae07f78663b7d24059667376992460b571a2" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", "libc", "uuid", "vm-memory", @@ -1256,7 +1290,7 @@ dependencies = [ "anyhow", "arc-swap", "arch", - "bitflags 2.6.0", + "bitflags 2.9.0", "block", "cfg-if", "clap", @@ -1490,7 +1524,7 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.0", ] [[package]]