Mercurial > hg
diff 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 |
line wrap: on
line diff
--- 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