[package] name = "pyo3" version = "0.12.3" description = "Bindings to Python interpreter" authors = ["PyO3 Project and Contributors "] readme = "README.md" keywords = ["pyo3", "python", "cpython", "ffi"] homepage = "https://github.com/pyo3/pyo3" repository = "https://github.com/pyo3/pyo3" documentation = "https://docs.rs/crate/pyo3/" categories = ["api-bindings", "development-tools::ffi"] license = "Apache-2.0" exclude = ["/.gitignore", ".cargo/config"] build = "build.rs" edition = "2018" [dependencies] cfg-if = { version = "1.0" } ctor = { version = "0.1", optional = true } indoc = { version = "1.0.3", optional = true } inventory = { version = "0.1.4", optional = true } libc = "0.2.62" parking_lot = "0.11.0" num-bigint = { version = "0.3", optional = true } num-complex = { version = "0.3", optional = true } paste = { version = "1.0.3", optional = true } pyo3cls = { path = "pyo3cls", version = "=0.12.3", optional = true } unindent = { version = "0.1.4", optional = true } hashbrown = { version = "0.9", optional = true } [dev-dependencies] assert_approx_eq = "1.1.0" trybuild = "1.0.23" rustversion = "1.0" [features] default = ["macros"] macros = ["ctor", "indoc", "inventory", "paste", "pyo3cls", "unindent"] # Use the Python limited API. See https://www.python.org/dev/peps/pep-0384/ for # more. abi3 = [] # Optimizes PyObject to Vec conversion and so on. nightly = [] # 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. extension-module = [] [workspace] members = [ "pyo3cls", "pyo3-derive-backend", "examples/*" ]