Cargo.toml
30 lines
| 799 B
| text/plain
|
TOMLLexer
|
r41001 | [package] | ||
name = "hg-cpython" | ||||
version = "0.1.0" | ||||
authors = ["Georges Racinet <gracinet@anybox.fr>"] | ||||
|
r42828 | edition = "2018" | ||
|
r41001 | |||
[lib] | ||||
name='rusthg' | ||||
crate-type = ["cdylib"] | ||||
[features] | ||||
|
r48996 | default = ["python3"] | ||
|
r41001 | |||
|
r43583 | # Features to build an extension module: | ||
|
r43485 | python27 = ["cpython/python27-sys", "cpython/extension-module-2-7"] | ||
|
r43583 | python3 = ["cpython/python3-sys", "cpython/extension-module"] | ||
|
r41021 | |||
|
r43583 | # Enable one of these features to build a test executable linked to libpython: | ||
# e.g. cargo test --no-default-features --features python27-bin | ||||
python27-bin = ["cpython/python27-sys"] | ||||
python3-bin = ["cpython/python3-sys"] | ||||
|
r41001 | |||
[dependencies] | ||||
|
r49011 | cpython = { version = "0.7.0", default-features = false } | ||
|
r47330 | crossbeam-channel = "0.4" | ||
|
r44786 | hg-core = { path = "../hg-core"} | ||
|
r49009 | libc = "0.2" | ||
|
r45062 | log = "0.4.8" | ||
|
r46090 | env_logger = "0.7.1" | ||
|
r48766 | stable_deref_trait = "1.2.0" | ||