From: Ananthu C V <weepingclown@disroot.org>
Date: Tue, 13 Aug 2024 01:03:16 +0530
Subject: pyo3 v0.22 compatibility

---
 rust/Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index b41e903..af31456 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -14,7 +14,7 @@ strip = true
 overflow-checks = false
 
 [dependencies]
-pyo3 = { version = "0.22.0", features = ["extension-module", "generate-import-lib"] }
+pyo3 = { version = "0.22.0", features = ["extension-module", "generate-import-lib", "gil-refs"] }
 mimalloc = { version = "0.1.29", optional = true, default-features = false }
 
 [features]
