diff --git a/rust/tool/Cargo.lock b/rust/tool/Cargo.lock index 6af64c20..566cf65c 100644 --- a/rust/tool/Cargo.lock +++ b/rust/tool/Cargo.lock @@ -19,9 +19,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.5.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" +checksum = "f6cd65a4b849ace0b7f6daeebcc1a1d111282227ca745458c61dbf670e52a597" dependencies = [ "anstyle", "anstyle-parse", @@ -57,9 +57,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "2.1.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" +checksum = "0238ca56c96dfa37bdf7c373c8886dd591322500aceeeccdb2216fe06dc2f796" dependencies = [ "anstyle", "windows-sys", @@ -183,9 +183,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.3" +version = "4.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84ed82781cea27b43c9b106a979fe450a13a31aab0500595fb3fc06616de08e6" +checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" dependencies = [ "clap_builder", "clap_derive", @@ -193,9 +193,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.2" +version = "4.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08" +checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" dependencies = [ "anstream", "anstyle", @@ -325,9 +325,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "filetime" @@ -362,17 +362,6 @@ dependencies = [ "wasi", ] -[[package]] -name = "goblin" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6b4de4a8eb6c46a8c77e1d3be942cb9a8bf073c22374578e5ba4b08ed0ff68" -dependencies = [ - "log", - "plain", - "scroll", -] - [[package]] name = "goblin" version = "0.7.1" @@ -424,9 +413,9 @@ dependencies = [ [[package]] name = "indoc" -version = "2.0.3" +version = "2.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c785eefb63ebd0e33416dfcb8d6da0bf27ce752843a45632a67bf10d4d4b5c4" +checksum = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" [[package]] name = "itertools" @@ -463,7 +452,7 @@ dependencies = [ "expect-test", "fastrand", "filetime", - "goblin 0.7.1", + "goblin", "indoc", "log", "nix", @@ -504,7 +493,7 @@ dependencies = [ "clap", "expect-test", "filetime", - "goblin 0.6.1", + "goblin", "indoc", "lanzaboote_tool", "log", @@ -526,11 +515,11 @@ checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" [[package]] name = "nix" -version = "0.26.4" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.0", "cfg-if", "libc", ] @@ -734,9 +723,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.7" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", diff --git a/rust/tool/shared/Cargo.toml b/rust/tool/shared/Cargo.toml index ac82dab8..2a7df1ba 100644 --- a/rust/tool/shared/Cargo.toml +++ b/rust/tool/shared/Cargo.toml @@ -7,19 +7,19 @@ edition.workspace = true [dependencies] anyhow = "1" -clap = { version = "4.3", features = ["derive"] } +clap = { version = "4.4", features = ["derive"] } goblin = "0.7" -nix = { version = "0.26", default-features = false, features = [ "fs" ] } +nix = { version = "0.27", default-features = false, features = [ "fs" ] } serde = { version = "1", features = ["derive"] } serde_json = "1" -tempfile = "3.6.0" +tempfile = "3.8.0" bootspec = "1" walkdir = "2" time = "0.3" sha2 = "0.10" # Keep the fastrand version aligned with the one from tempfile to avoid two # different versions. -fastrand = "2.0.0" +fastrand = "2.0.1" log = { version = "0.4", features = ["std"] } stderrlog = "0.5" indoc = "2" @@ -27,5 +27,5 @@ indoc = "2" [dev-dependencies] assert_cmd = "2.0.12" expect-test = "1.4.1" -filetime = "0.2.21" +filetime = "0.2.22" rand = "0.8.5" diff --git a/rust/tool/systemd/Cargo.toml b/rust/tool/systemd/Cargo.toml index 33784be0..3a992014 100644 --- a/rust/tool/systemd/Cargo.toml +++ b/rust/tool/systemd/Cargo.toml @@ -6,22 +6,22 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "1.0.71" +anyhow = "1.0.75" stderrlog = "0.5.4" -log = { version = "0.4.18", features = ["std"] } -clap = { version = "4.3.1", features = ["derive"] } +log = { version = "0.4.20", features = ["std"] } +clap = { version = "4.4.6", features = ["derive"] } lanzaboote_tool = { path = "../shared" } -indoc = "2.0.1" -tempfile = "3.5.0" -nix = { version = "0.26.2", default-features = false, features = [ "fs" ] } +indoc = "2.0.4" +tempfile = "3.8.0" +nix = { version = "0.27.1", default-features = false, features = [ "fs" ] } [dev-dependencies] -assert_cmd = "2.0.11" +assert_cmd = "2.0.12" expect-test = "1.4.1" -filetime = "0.2.21" +filetime = "0.2.22" rand = "0.8.5" -serde_json = "1.0.96" -goblin = "0.6.1" -serde = { version = "1.0.163", features = ["derive"] } -walkdir = "2.3.3" -sha2 = "0.10.6" +serde_json = "1.0.107" +goblin = "0.7.1" +serde = { version = "1.0.188", features = ["derive"] } +walkdir = "2.4.0" +sha2 = "0.10.8" diff --git a/rust/uefi/Cargo.lock b/rust/uefi/Cargo.lock index 67d679c8..2e12aa14 100644 --- a/rust/uefi/Cargo.lock +++ b/rust/uefi/Cargo.lock @@ -70,9 +70,9 @@ dependencies = [ [[package]] name = "goblin" -version = "0.6.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6b4de4a8eb6c46a8c77e1d3be942cb9a8bf073c22374578e5ba4b08ed0ff68" +checksum = "f27c1b4369c2cd341b5de549380158b105a04c331be5db9110eef7b6d2742134" dependencies = [ "log", "plain", @@ -178,9 +178,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.7" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", diff --git a/rust/uefi/linux-bootloader/Cargo.toml b/rust/uefi/linux-bootloader/Cargo.toml index 0f3a5a89..de8bb8f8 100644 --- a/rust/uefi/linux-bootloader/Cargo.toml +++ b/rust/uefi/linux-bootloader/Cargo.toml @@ -13,11 +13,11 @@ rust-version = "1.68" [dependencies] uefi = { version = "0.24.0", default-features = false, features = [ "alloc", "global_allocator" ] } -goblin = { version = "0.6.1", default-features = false, features = [ "pe64", "alloc" ]} -bitflags = "2.3.3" +goblin = { version = "0.7.1", default-features = false, features = [ "pe64", "alloc" ]} +bitflags = "2.4.0" # Even in debug builds, we don't enable the debug logs, because they generate a lot of spam from goblin. -log = { version = "0.4.19", default-features = false, features = [ "max_level_info", "release_max_level_warn" ]} +log = { version = "0.4.20", default-features = false, features = [ "max_level_info", "release_max_level_warn" ]} [badges] maintenance = { status = "actively-developed" } diff --git a/rust/uefi/stub/Cargo.toml b/rust/uefi/stub/Cargo.toml index 819a28ba..9936afa9 100644 --- a/rust/uefi/stub/Cargo.toml +++ b/rust/uefi/stub/Cargo.toml @@ -8,9 +8,9 @@ publish = false uefi = { version = "0.24.0", default-features = false, features = [ "alloc", "global_allocator" ] } uefi-services = { version = "0.21.0", default-features = false, features = [ "panic_handler", "logger" ] } # Even in debug builds, we don't enable the debug logs, because they generate a lot of spam from goblin. -log = { version = "0.4.19", default-features = false, features = [ "max_level_info", "release_max_level_warn" ]} +log = { version = "0.4.20", default-features = false, features = [ "max_level_info", "release_max_level_warn" ]} # Use software implementation because the UEFI target seems to need it. -sha2 = { version = "0.10.7", default-features = false, features = ["force-soft"], optional = true } +sha2 = { version = "0.10.8", default-features = false, features = ["force-soft"], optional = true } # Our linux-bootloader crate containing most of what we need linux-bootloader = { path = "../linux-bootloader" }