From 17edbd119dad31b7f6963d821ba90d39a4f37456 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 12 Jul 2020 20:06:04 +1000 Subject: [PATCH] roll back pyo3 for now 0.9 will spit out BorrowMut errors when two concurrent backend commands are received with allow_threads. The collection mutex protects most methods, but other attributes like the abort handle are not protected, so this code may need to be reworked in the future. We could wrap the entire backend in a mutex, but that means the long-running syncing code will need to be changed to run in the background instead. --- rspy/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rspy/Cargo.toml b/rspy/Cargo.toml index 2d37da2be..15f410215 100644 --- a/rspy/Cargo.toml +++ b/rspy/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" anki = { path = "../rslib" } [dependencies.pyo3] -version = "0.11.1" +version = "0.8.0" features = ["extension-module"] [lib]