##// END OF EJS Templates
discovery: minor fix to some conditionals...
discovery: minor fix to some conditionals Since `size` is the upper limit of the sample, we should include it in the check. Otherwize the `more` variable will be zero and the sampling will be useless

File last commit:

r41021:4277e20c default
r41145:71b0db4f default
Show More
Cargo.toml
34 lines | 629 B | text/plain | TOMLLexer
Georges Racinet
rust-cpython: start cpython crate bindings...
r41001 [package]
name = "hg-cpython"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
[lib]
name='rusthg'
crate-type = ["cdylib"]
[features]
Georges Racinet
rust-cpython: build and support for Python3...
r41021 default = ["python27"]
Georges Racinet
rust-cpython: start cpython crate bindings...
r41001
Georges Racinet
rust-cpython: build and support for Python3...
r41021 python27 = ["cpython/python27-sys",
"cpython/extension-module-2-7",
"python27-sys",
]
python3 = ["python3-sys", "cpython/python3-sys", "cpython/extension-module"]
Georges Racinet
rust-cpython: start cpython crate bindings...
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