##// END OF EJS Templates
rust: simply use TryInto to convert slice to array...
rust: simply use TryInto to convert slice to array Since our rust module depends on TryInto, there's no point to avoid using it. While rewriting copy_into_array(), I noticed CPython interface doesn't check the length of the p1/p2 values, which is marked as TODO.

File last commit:

r40308:a36c5e23 default
r43067:53995325 default
Show More
Cargo.toml
12 lines | 286 B | application/toml | TOMLLexer
Georges Racinet
rust: iterator bindings to C code...
r40308 [package]
name = "hgdirectffi"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
description = "Low level Python bindings for hg-core, going through existing C extensions"
[dependencies]
libc = "*"
hg-core = { path = "../hg-core" }
[lib]
crate-type = ["staticlib"]