view rust/hg-cpython/Cargo.toml @ 41759:aaad36b88298

cleanup: use () to wrap long lines instead of \ This is a little less brittle, and often helps indentation. In a surprising number of cases the entire cleanup was deleting the \, as the expression was *already* parenthesized in a workable way. Differential Revision: https://phab.mercurial-scm.org/D5993
author Augie Fackler <augie@google.com>
date Wed, 20 Feb 2019 19:28:51 -0500
parents 4277e20cfec4
children 326fdce22fb2
line wrap: on
line source

[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