From 3e9e957b9530143f3079e4d4dcdab258856c419c Mon Sep 17 00:00:00 2001 From: Solal Pirelli Date: Wed, 25 Jan 2023 15:53:35 +0100 Subject: [PATCH] Rust: Update dependencies --- c/ixgbe/agent.h | 3 ++- rust/Cargo.lock | 26 +++++++++++++------------- rust/Cargo.toml | 4 ++-- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/c/ixgbe/agent.h b/c/ixgbe/agent.h index e86b7ca..05df8f6 100644 --- a/c/ixgbe/agent.h +++ b/c/ixgbe/agent.h @@ -31,7 +31,8 @@ struct ixgbe_agent { #endif }; -static inline bool ixgbe_agent_init(struct ixgbe_device* input_device, uint8_t outputs_count, struct ixgbe_device* output_devices, struct ixgbe_agent* out_agent) +static inline bool ixgbe_agent_init(struct ixgbe_device* input_device, uint8_t outputs_count, struct ixgbe_device* output_devices, + struct ixgbe_agent* out_agent) { #ifdef IXGBE_AGENT_OUTPUTS_COUNT // just so we don't have to change the signature diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 86df068..f9d47b1 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -14,17 +14,11 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -[[package]] -name = "cc" -version = "1.0.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" - [[package]] name = "libc" -version = "0.2.119" +version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" +checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" [[package]] name = "memmap" @@ -36,6 +30,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "rustversion" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5583e89e108996506031660fe09baa5011b9dd0341b89029313006d1fb508d70" + [[package]] name = "tinynf" version = "1.0.0" @@ -47,9 +47,9 @@ dependencies = [ [[package]] name = "volatile" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4c2dbd44eb8b53973357e6e207e370f0c1059990df850aca1eca8947cf464f0" +checksum = "442887c63f2c839b346c192d047a7c87e73d0689c9157b00b53dcc27dd5ea793" [[package]] name = "winapi" @@ -75,12 +75,12 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "x86_64" -version = "0.14.8" +version = "0.14.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958ab3202b01bc43ba2eb832102c4a487ed93151667a2289062e5f2b00058be2" +checksum = "100555a863c0092238c2e0e814c1096c1e5cf066a309c696a87e907b5f8c5d69" dependencies = [ "bit_field", "bitflags", - "cc", + "rustversion", "volatile", ] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 8a8ed2c..15ec4aa 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -8,9 +8,9 @@ constgenerics = [] queues = [] [dependencies] -libc = "0.2.119" +libc = "0.2.139" memmap = "0.7.0" -x86_64 = { version = "0.14.8", default-features = false, features = ["instructions", "external_asm"] } +x86_64 = { version = "0.14.10", default-features = false, features = ["instructions", "external_asm"] } [profile.release] lto = true