Anki/rspy/Cargo.toml
Damien Elmes 17edbd119d 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.
2020-07-12 20:06:04 +10:00

22 lines
545 B
TOML

[package]
name = "ankirspy"
version = "2.1.28" # automatically updated
edition = "2018"
authors = ["Ankitects Pty Ltd and contributors <https://help.ankiweb.net>"]
license = "AGPL-3.0-or-later"
description = "Anki's Rust library code Python bindings"
readme = "README.md"
[dependencies]
anki = { path = "../rslib" }
[dependencies.pyo3]
version = "0.8.0"
features = ["extension-module"]
[lib]
name = "ankirspy"
crate-type = ["cdylib"]
[patch.crates-io]
hyper = { git = "https://github.com/ankitects/hyper.git", branch = "gai-cancel-panic" }