cargo depends on a buggy version of libgit2
When I try to use the cargo Rust package manager / build tool, it fails to access its index.
$ apk add -U rust cargo
$ cargo update --verbose
Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to load source for a dependency on `getopts`
Caused by:
Unable to update registry https://github.com/rust-lang/crates.io-index
Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
[3/-1] Invalid version 0 on git_proxy_options
I tried selecting an older libgit2 version, but unfortunately the cargo package depends on the newer, broken one.
I’m using Alpine edge, by the way.
(from redmine: issue id 7110, created on 2017-04-11, closed on 2017-05-22)