anki/pylib/rsbridge/Cargo.toml
Alan Du 562ea403b3 Update to PyO3 0.12
+ cargo raze by Damien
2020-11-02 18:38:34 +10:00

31 lines
652 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]
version = "0.12.0"
features = ["extension-module"]
[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