mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
* Add minimal capi lifecycle support * Force enable `threading` on `stdlib` --------- Co-authored-by: Jeong, YunWon <jeong@youknowone.org>
26 lines
717 B
TOML
26 lines
717 B
TOML
[package]
|
|
name = "rustpython-capi"
|
|
description = "Minimal CPython C-API compatibility exports for RustPython"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
rustpython-vm = { workspace = true, features = ["threading"] }
|
|
rustpython-stdlib = {workspace = true, features = ["threading"] }
|
|
|
|
[dev-dependencies]
|
|
pyo3 = { version = "0.28", features = ["auto-initialize", "abi3"] }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.cargo-shear]
|
|
# Not a direct dependency (yet), but we need to enable threading support in the stdlib.
|
|
ignored = ["rustpython-stdlib"] |