# HG changeset patch # User Raphaël Gomès # Date 2023-01-10 09:45:38 # Node ID da02e88b48502d254ef716e5be68ffd54b6fcbfe # Parent 83437ad8fe3d263ec7db05985299caf5851b28db rust-clippy: upgrade `bytes-cast` dependency I released a new version of `bytes-cast` to get rid of the clippy warning, and bump to edition 2021, so let's use it. diff --git a/rust/Cargo.lock b/rust/Cargo.lock --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -113,18 +113,18 @@ checksum = "14c189c53d098945499cdfa7ecc6 [[package]] name = "bytes-cast" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d434f9a4ecbe987e7ccfda7274b6f82ea52c9b63742565a65cb5e8ba0f2c452" +checksum = "a20de93b91d7703ca0e39e12930e310acec5ff4d715f4166e0ab026babb352e8" dependencies = [ "bytes-cast-derive", ] [[package]] name = "bytes-cast-derive" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b13e0e8ffc91021ba28dc98b2ea82099ba4ec07655279c21bfa3313ed96708fc" +checksum = "7470a6fcce58cde3d62cce758bf71007978b75247e6becd9255c9b884bcb4f71" dependencies = [ "proc-macro2", "quote", diff --git a/rust/hg-core/Cargo.toml b/rust/hg-core/Cargo.toml --- a/rust/hg-core/Cargo.toml +++ b/rust/hg-core/Cargo.toml @@ -10,7 +10,7 @@ name = "hg" [dependencies] bitflags = "1.3.2" -bytes-cast = "0.2.0" +bytes-cast = "0.3.0" byteorder = "1.4.3" derive_more = "0.99.17" hashbrown = { version = "0.13.1", features = ["rayon"] }