File: compatible-workaround-newer-pyo3.patch

package info (click to toggle)
python-zxcvbn-rs-py 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: python: 63; makefile: 16; sh: 11
file content (11 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
diff --git a/Cargo.toml b/Cargo.toml
index aa69040..7ce586b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,5 +9,5 @@ name = "zxcvbn_rs_py"
 crate-type = ["cdylib"]
 
 [dependencies]
-pyo3 = "^0.23"
+pyo3 = {version = "0.22", features = ["gil-refs"]}
 zxcvbn = "3.1.0"