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.
--- a/rust/Cargo.lock Tue Jan 10 10:41:52 2023 +0100
+++ b/rust/Cargo.lock Tue Jan 10 10:45:38 2023 +0100
@@ -113,18 +113,18 @@
[[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",
--- a/rust/hg-core/Cargo.toml Tue Jan 10 10:41:52 2023 +0100
+++ b/rust/hg-core/Cargo.toml Tue Jan 10 10:45:38 2023 +0100
@@ -10,7 +10,7 @@
[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"] }