diff --git a/Cargo.lock b/Cargo.lock
index df37fd582f5139c0e6dae06b1e973bd7d973765c..469c5663f03031a21551c7d8cf2216296a8656e9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1670,7 +1670,8 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
 [[package]]
 name = "persy"
 version = "1.2.0"
-source = "git+https://gitlab.com/tglman/persy.git?branch=master#ff102d6edeaf14d30a846c2e2376a814685d09e7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29c6aa7d7f093620a28b74fcf5f5da73ba17a9e52fcbbdbb4ecc89e61cb2d673"
 dependencies = [
  "crc",
  "data-encoding",
diff --git a/Cargo.toml b/Cargo.toml
index 7c94a69363651b26bceef8cfda9ad09beeae5f65..df879c367ed466e6c537dea43f3d325610dc0283 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,7 +28,7 @@ tokio = "1.11.0"
 # Used for storing data permanently
 sled = { version = "0.34.6", features = ["compression", "no_metrics"], optional = true }
 #sled = { git = "https://github.com/spacejam/sled.git", rev = "e4640e0773595229f398438886f19bca6f7326a2", features = ["compression"] }
-persy = { git = "https://gitlab.com/tglman/persy.git", branch="master" , optional = true, features=["background_ops"] }
+persy = { version = "1.2" , optional = true, features=["background_ops"] }
 
 # Used for the http request / response body type for Ruma endpoints used with reqwest
 bytes = "1.1.0"