view rust/hg-cpython/Cargo.toml @ 42784:777a9df5a1ef

perf: don't try to call `util.queue` on Mercurial version before it existed Differential Revision: https://phab.mercurial-scm.org/D6744
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 19 Aug 2019 10:39:13 -0700
parents 326fdce22fb2
children 9bbe08abaf48
line wrap: on
line source

[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