# HG changeset patch # User Yuya Nishihara # Date 1570970825 -32400 # Node ID 649a9601b9e2642fa0ef12e6ad51ac85ab6e860c # Parent 0246bbe1045d7064755d63967146c445fe92a3cd rust-cpython: drop direct dependency on python(27|3)_sys We no longer use it. diff -r 0246bbe1045d -r 649a9601b9e2 rust/Cargo.lock --- 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]] diff -r 0246bbe1045d -r 649a9601b9e2 rust/hg-cpython/Cargo.toml --- 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