##// END OF EJS Templates
rust-cpython: drop direct dependency on python(27|3)_sys...
Yuya Nishihara -
r43485:649a9601 default
parent child Browse files
Show More
@@ -66,8 +66,6 b' dependencies = ['
66 "cpython 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
66 "cpython 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
67 "hg-core 0.1.0",
67 "hg-core 0.1.0",
68 "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)",
68 "libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)",
69 "python27-sys 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
70 "python3-sys 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
71 ]
69 ]
72
70
73 [[package]]
71 [[package]]
@@ -11,12 +11,9 b' crate-type = ["cdylib"]'
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" }
@@ -25,11 +22,3 b" libc = '*'"
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
General Comments 0
You need to be logged in to leave comments. Login now