diff --git a/Cargo.lock b/Cargo.lock
index 217288702aef5a97727bd78d41616ee18111cb02..0452f04908f544e110a10e88dab63365b2f5b2de 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -333,9 +333,9 @@ dependencies = [
 
 [[package]]
 name = "aquamarine"
-version = "0.4.0"
+version = "0.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "074b80d14d0240b6ce94d68f059a2d26a5d77280ae142662365a21ef6e2594ef"
+checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e"
 dependencies = [
  "include_dir",
  "itertools 0.10.5",
diff --git a/substrate/frame/bags-list/Cargo.toml b/substrate/frame/bags-list/Cargo.toml
index 7fab47a20e1f4aab011e25ae00c437d67fc84a15..bd0d4884b4e93cac0aac42c4431ff73fa3ed75a4 100644
--- a/substrate/frame/bags-list/Cargo.toml
+++ b/substrate/frame/bags-list/Cargo.toml
@@ -35,7 +35,7 @@ frame-election-provider-support = { path = "../election-provider-support", defau
 # third party
 log = { version = "0.4.17", default-features = false }
 docify = "0.2.6"
-aquamarine = { version = "0.4.0" }
+aquamarine = { version = "0.5.0" }
 
 # Optional imports for benchmarking
 frame-benchmarking = { path = "../benchmarking", default-features = false, optional = true }
diff --git a/substrate/frame/support/Cargo.toml b/substrate/frame/support/Cargo.toml
index 04717c012f46b6075300fb0485eafd192783fca5..dafb86bd660e0ecc3ed2000912f4d561d1c4a882 100644
--- a/substrate/frame/support/Cargo.toml
+++ b/substrate/frame/support/Cargo.toml
@@ -50,7 +50,7 @@ serde_json = { version = "1.0.111", default-features = false, features = ["alloc
 docify = "0.2.6"
 static_assertions = "1.1.0"
 
-aquamarine = { version = "0.4.0" }
+aquamarine = { version = "0.5.0" }
 
 [dev-dependencies]
 assert_matches = "1.3.0"