Cargo.toml
33 lines
| 820 B
| application/toml
|
TOMLLexer
Georges Racinet
|
r41001 | [package] | ||
name = "hg-cpython" | ||||
version = "0.1.0" | ||||
authors = ["Georges Racinet <gracinet@anybox.fr>"] | ||||
Raphaël Gomès
|
r42828 | edition = "2018" | ||
Georges Racinet
|
r41001 | |||
[lib] | ||||
name='rusthg' | ||||
crate-type = ["cdylib"] | ||||
[features] | ||||
Georges Racinet
|
r41021 | default = ["python27"] | ||
Raphaël Gomès
|
r46184 | dirstate-tree = ["hg-core/dirstate-tree"] | ||
Georges Racinet
|
r41001 | |||
Yuya Nishihara
|
r43583 | # Features to build an extension module: | ||
Yuya Nishihara
|
r43485 | python27 = ["cpython/python27-sys", "cpython/extension-module-2-7"] | ||
Yuya Nishihara
|
r43583 | python3 = ["cpython/python3-sys", "cpython/extension-module"] | ||
Georges Racinet
|
r41021 | |||
Yuya Nishihara
|
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"] | ||||
Georges Racinet
|
r41001 | |||
[dependencies] | ||||
Simon Sapin
|
r47330 | crossbeam-channel = "0.4" | ||
Raphaël Gomès
|
r44786 | hg-core = { path = "../hg-core"} | ||
Georges Racinet
|
r41001 | libc = '*' | ||
Raphaël Gomès
|
r45062 | log = "0.4.8" | ||
Raphaël Gomès
|
r46090 | env_logger = "0.7.1" | ||
Georges Racinet
|
r41001 | |||
[dependencies.cpython] | ||||
Raphaël Gomès
|
r45090 | version = "0.4.1" | ||
Georges Racinet
|
r41001 | default-features = false | ||