diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 08af0adc235cef6f81e637dc37fadc91f3208e4d_cnVzdC9DYXJnby5sb2Nr..d3ec8201610485fa8bfda40771869ae67bfc6404_cnVzdC9DYXJnby5sb2Nr 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -314,5 +314,5 @@
 
 [[package]]
 name = "format-bytes"
-version = "0.2.2"
+version = "0.3.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -318,4 +318,4 @@
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c4e89040c7fd7b4e6ba2820ac705a45def8a0c098ec78d170ae88f1ef1d5762"
+checksum = "48942366ef93975da38e175ac9e10068c6fc08ca9e85930d4f098f4d5b14c2fd"
 dependencies = [
  "format-bytes-macros",
@@ -320,7 +320,6 @@
 dependencies = [
  "format-bytes-macros",
- "proc-macro-hack",
 ]
 
 [[package]]
 name = "format-bytes-macros"
@@ -323,6 +322,6 @@
 ]
 
 [[package]]
 name = "format-bytes-macros"
-version = "0.3.0"
+version = "0.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -328,3 +327,3 @@
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b05089e341a0460449e2210c3bf7b61597860b07f0deae58da38dbed0a4c6b6d"
+checksum = "203aadebefcc73d12038296c228eabf830f99cba991b0032adf20e9fa6ce7e4f"
 dependencies = [
@@ -330,5 +329,4 @@
 dependencies = [
- "proc-macro-hack",
  "proc-macro2",
  "quote",
  "syn",
@@ -637,12 +635,6 @@
 ]
 
 [[package]]
-name = "proc-macro-hack"
-version = "0.5.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
-
-[[package]]
 name = "proc-macro2"
 version = "1.0.24"
 source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/rust/hg-core/Cargo.toml b/rust/hg-core/Cargo.toml
index 08af0adc235cef6f81e637dc37fadc91f3208e4d_cnVzdC9oZy1jb3JlL0NhcmdvLnRvbWw=..d3ec8201610485fa8bfda40771869ae67bfc6404_cnVzdC9oZy1jb3JlL0NhcmdvLnRvbWw= 100644
--- a/rust/hg-core/Cargo.toml
+++ b/rust/hg-core/Cargo.toml
@@ -33,7 +33,7 @@
 log = "0.4.8"
 memmap2 = {version = "0.4", features = ["stable_deref_trait"]}
 zstd = "0.5.3"
-format-bytes = "0.2.2"
+format-bytes = "0.3.0"
 
 # We don't use the `miniz-oxide` backend to not change rhg benchmarks and until
 # we have a clearer view of which backend is the fastest.
diff --git a/rust/rhg/Cargo.toml b/rust/rhg/Cargo.toml
index 08af0adc235cef6f81e637dc37fadc91f3208e4d_cnVzdC9yaGcvQ2FyZ28udG9tbA==..d3ec8201610485fa8bfda40771869ae67bfc6404_cnVzdC9yaGcvQ2FyZ28udG9tbA== 100644
--- a/rust/rhg/Cargo.toml
+++ b/rust/rhg/Cargo.toml
@@ -18,5 +18,5 @@
 micro-timer = "0.3.1"
 regex = "1.3.9"
 env_logger = "0.7.1"
-format-bytes = "0.2.1"
+format-bytes = "0.3.0"
 users = "0.11.0"