2015-01-05 16:05:53 +00:00
|
|
|
[package]
|
2017-05-13 05:05:00 +00:00
|
|
|
name = "pyo3"
|
2020-09-10 21:54:38 +00:00
|
|
|
version = "0.12.0"
|
2017-08-12 16:31:14 +00:00
|
|
|
description = "Bindings to Python interpreter"
|
2018-05-14 16:53:31 +00:00
|
|
|
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
|
2015-04-19 05:50:50 +00:00
|
|
|
readme = "README.md"
|
2018-05-30 13:03:31 +00:00
|
|
|
keywords = ["pyo3", "python", "cpython", "ffi"]
|
2017-05-13 05:05:00 +00:00
|
|
|
homepage = "https://github.com/pyo3/pyo3"
|
2018-08-30 21:19:23 +00:00
|
|
|
repository = "https://github.com/pyo3/pyo3"
|
2018-11-02 21:32:18 +00:00
|
|
|
documentation = "https://docs.rs/crate/pyo3/"
|
2017-01-20 23:41:44 +00:00
|
|
|
categories = ["api-bindings", "development-tools::ffi"]
|
2017-07-23 18:21:01 +00:00
|
|
|
license = "Apache-2.0"
|
2020-08-11 21:32:59 +00:00
|
|
|
exclude = ["/.gitignore", ".cargo/config"]
|
2015-05-17 12:14:47 +00:00
|
|
|
build = "build.rs"
|
2019-02-01 13:01:18 +00:00
|
|
|
edition = "2018"
|
2015-01-05 16:05:53 +00:00
|
|
|
|
2015-03-08 14:29:44 +00:00
|
|
|
[dependencies]
|
2020-06-01 13:35:18 +00:00
|
|
|
ctor = { version = "0.1", optional = true }
|
2020-05-04 15:02:10 +00:00
|
|
|
indoc = { version = "0.3.4", optional = true }
|
|
|
|
inventory = { version = "0.1.4", optional = true }
|
2020-03-13 09:40:25 +00:00
|
|
|
libc = "0.2.62"
|
2020-06-29 09:01:21 +00:00
|
|
|
parking_lot = "0.11.0"
|
2020-06-15 11:57:30 +00:00
|
|
|
num-bigint = { version = "0.3", optional = true }
|
2020-06-15 08:48:53 +00:00
|
|
|
num-complex = { version = "0.3", optional = true }
|
2020-05-04 15:02:10 +00:00
|
|
|
paste = { version = "0.1.6", optional = true }
|
2020-09-10 21:54:38 +00:00
|
|
|
pyo3cls = { path = "pyo3cls", version = "=0.12.0", optional = true }
|
2020-05-04 15:02:10 +00:00
|
|
|
unindent = { version = "0.1.4", optional = true }
|
2020-09-06 04:50:18 +00:00
|
|
|
hashbrown = { version = "0.9", optional = true }
|
2017-06-18 15:41:20 +00:00
|
|
|
|
2018-04-21 18:01:41 +00:00
|
|
|
[dev-dependencies]
|
2019-02-01 14:05:37 +00:00
|
|
|
assert_approx_eq = "1.1.0"
|
2020-03-09 05:32:49 +00:00
|
|
|
trybuild = "1.0.23"
|
2020-06-18 09:49:43 +00:00
|
|
|
rustversion = "1.0"
|
2018-04-21 18:01:41 +00:00
|
|
|
|
2015-05-19 21:32:32 +00:00
|
|
|
[features]
|
2020-05-04 15:02:10 +00:00
|
|
|
default = ["macros"]
|
2020-06-01 13:35:18 +00:00
|
|
|
macros = ["ctor", "indoc", "inventory", "paste", "pyo3cls", "unindent"]
|
2020-06-18 09:43:04 +00:00
|
|
|
# Optimizes PyObject to Vec conversion and so on.
|
2020-06-17 08:10:00 +00:00
|
|
|
nightly = []
|
2017-06-11 23:35:24 +00:00
|
|
|
|
2019-03-22 13:07:33 +00:00
|
|
|
# this is no longer needed internally, but setuptools-rust assumes this feature
|
2017-06-11 23:35:24 +00:00
|
|
|
python3 = []
|
2015-05-25 13:41:26 +00:00
|
|
|
|
2016-12-17 20:17:11 +00:00
|
|
|
# Use this feature when building an extension module.
|
|
|
|
# It tells the linker to keep the python symbols unresolved,
|
|
|
|
# so that the module can also be used with statically linked python interpreters.
|
2017-05-13 05:05:00 +00:00
|
|
|
extension-module = []
|
2018-06-13 16:02:45 +00:00
|
|
|
|
2018-07-22 19:35:54 +00:00
|
|
|
# The stable cpython abi as defined in PEP 384. Currently broken with
|
|
|
|
# many compilation errors. Pull Requests working towards fixing that
|
|
|
|
# are welcome.
|
|
|
|
# abi3 = []
|
|
|
|
|
2018-06-13 16:02:45 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"pyo3cls",
|
|
|
|
"pyo3-derive-backend",
|
2018-08-21 22:02:37 +00:00
|
|
|
"examples/*"
|
|
|
|
]
|