diff --git a/Cargo.toml b/Cargo.toml
index b1a0c24a64dc2d6327170a36f707d5953fb769a9..f4012847810f2658764443d1720e6e117096ef5b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,3 +28,6 @@ default-features = false
 default = []
 live = []
 multi_core = []
+
+[replace]
+"spin:0.4.5" = { git = "https://github.com/messense/spin-rs" }