rust/hg-cpython/Cargo.toml
author Yuya Nishihara <yuya@tcha.org>
Sun, 13 Oct 2019 21:47:05 +0900
changeset 43214 649a9601b9e2
parent 43212 9bbe08abaf48
child 43289 8d432d3a2d7c
permissions -rw-r--r--
rust-cpython: drop direct dependency on python(27|3)_sys We no longer use it.

[package]
name = "hg-cpython"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
edition = "2018"

[lib]
name='rusthg'
crate-type = ["cdylib"]

[features]
default = ["python27"]

python27 = ["cpython/python27-sys", "cpython/extension-module-2-7"]

python3 = ["cpython/python3-sys", "cpython/extension-module"]

[dependencies]
hg-core = { path = "../hg-core" }
libc = '*'

[dependencies.cpython]
version = "0.3"
default-features = false