From df29837a4f82e70bd80b5ac125d52267809706d3 Mon Sep 17 00:00:00 2001 From: "oxide-renovate[bot]" <146848827+oxide-renovate[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 04:08:46 +0000 Subject: [PATCH] Update Rust crate snafu to 0.8 --- Cargo.lock | 27 ++++++++++++++++++++++++--- Cargo.toml | 2 +- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dd837b98914..13f0cf39781 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8254,7 +8254,16 @@ dependencies = [ "doc-comment", "futures-core", "pin-project", - "snafu-derive", + "snafu-derive 0.7.5", +] + +[[package]] +name = "snafu" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d342c51730e54029130d7dc9fd735d28c4cd360f1368c01981d4f03ff207f096" +dependencies = [ + "snafu-derive 0.8.0", ] [[package]] @@ -8269,6 +8278,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "snafu-derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "080c44971436b1af15d6f61ddd8b543995cf63ab8e677d46b00cc06f4ef267a0" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "syn 2.0.48", +] + [[package]] name = "socket2" version = "0.4.9" @@ -9231,7 +9252,7 @@ dependencies = [ "serde", "serde_json", "serde_plain", - "snafu", + "snafu 0.7.5", "tempfile", "tokio", "tokio-util", @@ -10239,7 +10260,7 @@ dependencies = [ "sled-hardware", "slog", "slog-dtrace 0.3.0", - "snafu", + "snafu 0.8.0", "subprocess", "tar", "thiserror", diff --git a/Cargo.toml b/Cargo.toml index 47c412b9b53..ee798b2cc0b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -354,7 +354,7 @@ slog-envlogger = "2.2" slog-error-chain = { git = "https://github.com/oxidecomputer/slog-error-chain", branch = "main", features = ["derive"] } slog-term = "2.9" smf = "0.2" -snafu = "0.7" +snafu = "0.8" sp-sim = { path = "sp-sim" } sprockets-common = { git = "http://github.com/oxidecomputer/sprockets", rev = "77df31efa5619d0767ffc837ef7468101608aee9" } sprockets-host = { git = "http://github.com/oxidecomputer/sprockets", rev = "77df31efa5619d0767ffc837ef7468101608aee9" }