[package]
name = "cpython"
version = "0.7.2"
description = "Bindings to Python"
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
readme = "README.md"
keywords = [
"python",
"cpython",
"libpython27",
]
homepage = "https://github.com/dgrunwald/rust-cpython"
repository = "https://github.com/dgrunwald/rust-cpython.git"
documentation = "http://dgrunwald.github.io/rust-cpython/doc/cpython/"
categories = ["api-bindings", "development-tools::ffi"]
license = "MIT"
exclude = [
"/.gitignore",
"/.travis.yml",
"/appveyor.yml",
"/.cargo/config",
"/python27-sys/**",
"/python3-sys/**",
"/extensions/**",
"/Makefile"
]
build = "build.rs"
edition = "2018"
[badges]
travis-ci = { repository = "dgrunwald/rust-cpython" }
appveyor = { repository = "dgrunwald/rust-cpython" }
[dependencies]
libc = "0.2"
num-traits = "0.2"
paste = "1"
serde = { version = "1", features = ["derive"], optional = true }
[dev-dependencies]
rustversion = "1.0"
serde_bytes = { version = "0.11" }
serde_cbor = { version = "0.11" }
[dependencies.python27-sys]
optional = true
path = "python27-sys"
version = "0.7.0"
[dependencies.python3-sys]
optional = true
path = "python3-sys"
version = "0.7.2"
[features]
default = ["python3-sys"]
serde-convert = ["serde"]
nonnull = []
nightly = []
extension-module = [ "python3-sys/extension-module" ]
extension-module-2-7 = [ "python27-sys/extension-module" ]
py-link-mode-default = [ "python3-sys/link-mode-default" ]
py-link-mode-unresolved-static = [ "python3-sys/link-mode-unresolved-static" ]
python-3-11 = ["python3-sys/python-3-11"]
python-3-10 = ["python3-sys/python-3-10"]
python-3-9 = ["python3-sys/python-3-9"]
python-3-8 = ["python3-sys/python-3-8"]
python-3-7 = ["python3-sys/python-3-7"]
python-3-6 = ["python3-sys/python-3-6"]
python-3-5 = ["python3-sys/python-3-5"]
python-3-4 = ["python3-sys/python-3-4"]
no-auto-initialize = []
py2-no-auto-unicode-promotion = []
[workspace]
members = ["python27-sys", "python3-sys", "extensions/hello"]