Cargo.toml
35 lines
| 646 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"] | ||
Georges Racinet
|
r41001 | |||
Georges Racinet
|
r41021 | python27 = ["cpython/python27-sys", | ||
"cpython/extension-module-2-7", | ||||
"python27-sys", | ||||
] | ||||
python3 = ["python3-sys", "cpython/python3-sys", "cpython/extension-module"] | ||||
Georges Racinet
|
r41001 | |||
[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 | ||||