anki/pylib/rsbridge/Cargo.toml

32 lines
731 B
TOML
Raw Normal View History

2019-12-23 05:42:14 +01:00
[package]
name = "rsbridge"
2020-11-02 06:02:30 +01:00
version = "0.0.0"
2019-12-23 05:42:14 +01:00
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"
2019-12-23 05:42:14 +01:00
[dependencies]
2020-11-02 06:02:30 +01:00
anki = { path = "../../rslib" }
# WARNING: if changing the version number here, the version in ../../cargo/update.py
# needs to be updated as well
2019-12-23 05:42:14 +01:00
[dependencies.pyo3]
git = "https://github.com/PyO3/pyo3.git"
rev = "3b3ba4e3abd57bc3b8f86444b3f61e6e2f4c5fc1"
features = ["extension-module", "abi3"]
2019-12-23 05:42:14 +01:00
[lib]
name = "rsbridge"
2019-12-23 05:42:14 +01:00
crate-type = ["cdylib"]
2020-11-02 06:02:30 +01:00
path = "lib.rs"
2020-11-02 06:02:30 +01:00
#[profile.dev]
#opt-level = 2
#debug = 0
#codegen-units = 256
2020-11-02 06:02:30 +01:00
#[profile.dev.package."*"]
#opt-level = 3
#codegen-units = 16