##// END OF EJS Templates
rust-python3: useless python2 specific import...
rust-python3: useless python2 specific import This python27_sys import prevents building with python3, it had been previously removed in a5fa9140ce4c, but that has been since pruned Differential Revision: https://phab.mercurial-scm.org/D6415

File last commit:

r41021:4277e20c default
r42549:5b795108 default
Show More
Cargo.toml
34 lines | 629 B | text/plain | TOMLLexer
[package]
name = "hg-cpython"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
[lib]
name='rusthg'
crate-type = ["cdylib"]
[features]
default = ["python27"]
python27 = ["cpython/python27-sys",
"cpython/extension-module-2-7",
"python27-sys",
]
python3 = ["python3-sys", "cpython/python3-sys", "cpython/extension-module"]
[dependencies]
hg-core = { path = "../hg-core" }
libc = '*'
[dependencies.cpython]
version = "*"
default-features = false
[dependencies.python27-sys]
version = "0.2.1"
optional = true
[dependencies.python3-sys]
version = "0.2.1"
optional = true