comparison rust/hg-cpython/Cargo.toml @ 43214:649a9601b9e2

rust-cpython: drop direct dependency on python(27|3)_sys We no longer use it.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 13 Oct 2019 21:47:05 +0900
parents 9bbe08abaf48
children 8d432d3a2d7c
comparison
equal deleted inserted replaced
43213:0246bbe1045d 43214:649a9601b9e2
9 crate-type = ["cdylib"] 9 crate-type = ["cdylib"]
10 10
11 [features] 11 [features]
12 default = ["python27"] 12 default = ["python27"]
13 13
14 python27 = ["cpython/python27-sys", 14 python27 = ["cpython/python27-sys", "cpython/extension-module-2-7"]
15 "cpython/extension-module-2-7",
16 "python27-sys",
17 ]
18 15
19 python3 = ["python3-sys", "cpython/python3-sys", "cpython/extension-module"] 16 python3 = ["cpython/python3-sys", "cpython/extension-module"]
20 17
21 [dependencies] 18 [dependencies]
22 hg-core = { path = "../hg-core" } 19 hg-core = { path = "../hg-core" }
23 libc = '*' 20 libc = '*'
24 21
25 [dependencies.cpython] 22 [dependencies.cpython]
26 version = "0.3" 23 version = "0.3"
27 default-features = false 24 default-features = false
28
29 [dependencies.python27-sys]
30 version = "0.3"
31 optional = true
32
33 [dependencies.python3-sys]
34 version = "0.3"
35 optional = true