anki/pylib/rsbridge/Cargo.toml
2020-11-24 18:41:03 +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 = "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