anki/pylib/rsbridge/Cargo.toml
Damien Elmes 4c3577b12e update Rust deps incl. Pyo3
This includes the refcount bug fix from pyo3 0.12.4
2020-12-01 16:48:45 +10:00

31 lines
681 B
TOML

[package]
name = "rsbridge"
version = "0.0.0"
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"
[dependencies]
anki = { path = "../../rslib" }
# /cargo/update.py needs to be run if updating the version below
[dependencies.pyo3]
git = "https://github.com/PyO3/pyo3.git"
rev = "92b7a9736c9585883df5ec5bc01004caa7f65106"
features = ["extension-module", "abi3"]
[lib]
name = "rsbridge"
crate-type = ["cdylib"]
path = "lib.rs"
#[profile.dev]
#opt-level = 2
#debug = 0
#codegen-units = 256
#[profile.dev.package."*"]
#opt-level = 3
#codegen-units = 16