pyo3/Cargo.toml

49 lines
1.1 KiB
TOML
Raw Normal View History

2015-01-05 16:05:53 +00:00
[package]
name = "cpython"
2015-07-04 18:28:40 +00:00
version = "0.0.2"
description = "Bindings to Python"
2015-01-05 16:05:53 +00:00
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
2015-04-19 05:50:50 +00:00
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/"
license = "MIT"
exclude = [
".gitignore",
".travis.yml",
2015-07-04 18:28:40 +00:00
"appveyor.yml",
".cargo/config",
2015-05-17 19:35:04 +00:00
"python27-sys",
"python32-sys",
2015-04-19 05:50:50 +00:00
]
build = "build.rs"
2015-01-05 16:05:53 +00:00
2015-03-08 14:29:44 +00:00
[dependencies]
2015-05-24 18:06:08 +00:00
libc = "*"
num = "*"
interpolate_idents = "*"
abort_on_panic = "1.0"
# These features are both optional, but you must pick one to
# indicate which python ffi you are trying to bind to.
[dependencies.python27-sys]
optional = true
2015-05-17 19:35:04 +00:00
[dependencies.python3-sys]
2015-07-04 18:28:40 +00:00
optional = true
[features]
default = ["python3-sys"]
# Optional features to support explicitly specifying python minor version.
# If you don't care which minor version, just specify python3-sys as a
# feature.
python-3-5 = ["python3-sys/python-3-5"]
python-3-4 = ["python3-sys/python-3-4"]