sapling/lib/hgpython/Cargo.toml
Kostia Balytskyi 682e4bed1a hgpython: extract hgpython from hgmain
Summary:
Following the conversation with quark-zju, this in future will help us conditionally dynamically load
the `hgpython` `.dll`/`.so` only if we need it.

Reviewed By: quark-zju

Differential Revision: D10084949

fbshipit-source-id: c20ef014ad9922913ee36d1ec28b0555b64f7d1f
2018-10-12 14:55:09 -07:00

24 lines
390 B
TOML

[package]
name = "hgpython"
version = "0.1.0"
[dependencies]
libc = "0.2"
[dependencies.encoding]
path = "../encoding"
[dependencies.cpython]
version = "0.2"
default-features = false
features = ["python27-sys"]
[dependencies.python27-sys]
version = "0.2"
[features]
default = []
# hgdev lets hgpython know that the crate is build to be used
# in the development environment
hgdev = []