49 lines
1.2 KiB
TOML
49 lines
1.2 KiB
TOML
[package]
|
|
|
|
name = "cpython"
|
|
version = "0.1.0"
|
|
description = "Bindings to Python"
|
|
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
|
|
readme = "README.md"
|
|
keywords = [
|
|
"python",
|
|
"cpython",
|
|
]
|
|
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",
|
|
"extensions"
|
|
]
|
|
build = "build.rs"
|
|
|
|
[badges]
|
|
travis-ci = { repository = "dgrunwald/rust-cpython" }
|
|
appveyor = { repository = "dgrunwald/rust-cpython" }
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
num-traits = "0.1"
|
|
|
|
[dependencies.python3-sys]
|
|
optional = true
|
|
# version = "0.1.3"
|
|
path = "./python3-sys/"
|
|
|
|
[features]
|
|
default = ["python3-sys"]
|
|
|
|
# Enable additional features that require nightly rust
|
|
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 = [ "python3-sys/extension-module" ]
|