rust/hg-cpython/Cargo.toml
author Yuya Nishihara <yuya@tcha.org>
Wed, 14 Aug 2019 09:22:54 +0900
changeset 42734 7013c7ce987f
parent 42609 326fdce22fb2
child 43212 9bbe08abaf48
permissions -rw-r--r--
merge with stable

[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",
            "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