-
Notifications
You must be signed in to change notification settings - Fork 136
/
Cargo.toml
50 lines (42 loc) · 1.13 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "python3-sys"
version = "0.2.0"
description = "FFI Declarations for Python 3"
readme = "README.md"
keywords = [
"python",
"cpython",
"libpython3",
]
homepage = "https://github.com/dgrunwald/rust-cpython/tree/master/python3-sys"
repository = "https://github.com/dgrunwald/rust-cpython/tree/master/python3-sys"
categories = ["external-ffi-bindings"]
license = "Python-2.0"
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
links = "python3"
build = "build.rs"
exclude = [
"/.gitignore",
"/.travis.yml",
]
workspace = ".."
[dependencies]
libc = "0.2"
[build-dependencies]
regex = "0.2"
[features]
# This is examined by ./build.rs to determine which python version
# to try to bind to.
default = ["python-3"]
# 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 = [ ]
# Bind to any python 3.x.
python-3 = []
# Or, bind to a particular minor version.
python-3-4 = []
python-3-5 = []
python-3-6 = []
# Restrict to PEP-384 stable ABI
pep-384 = []