rust-cpython: drop direct dependency on python(27|3)_sys
We no longer use it.
--- a/rust/Cargo.lock Sun Oct 13 17:07:44 2019 +0900
+++ b/rust/Cargo.lock Sun Oct 13 21:47:05 2019 +0900
@@ -66,8 +66,6 @@
"cpython 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hg-core 0.1.0",
"libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)",
- "python27-sys 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "python3-sys 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
--- a/rust/hg-cpython/Cargo.toml Sun Oct 13 17:07:44 2019 +0900
+++ b/rust/hg-cpython/Cargo.toml Sun Oct 13 21:47:05 2019 +0900
@@ -11,12 +11,9 @@
[features]
default = ["python27"]
-python27 = ["cpython/python27-sys",
- "cpython/extension-module-2-7",
- "python27-sys",
- ]
+python27 = ["cpython/python27-sys", "cpython/extension-module-2-7"]
-python3 = ["python3-sys", "cpython/python3-sys", "cpython/extension-module"]
+python3 = ["cpython/python3-sys", "cpython/extension-module"]
[dependencies]
hg-core = { path = "../hg-core" }
@@ -25,11 +22,3 @@
[dependencies.cpython]
version = "0.3"
default-features = false
-
-[dependencies.python27-sys]
-version = "0.3"
-optional = true
-
-[dependencies.python3-sys]
-version = "0.3"
-optional = true