9fe53ff549
Should allow the library to be imported in both Python 3.8+3.9.
32 lines
731 B
TOML
32 lines
731 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" }
|
|
|
|
# WARNING: if changing the version number here, the version in ../../cargo/update.py
|
|
# needs to be updated as well
|
|
[dependencies.pyo3]
|
|
git = "https://github.com/PyO3/pyo3.git"
|
|
rev = "3b3ba4e3abd57bc3b8f86444b3f61e6e2f4c5fc1"
|
|
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
|