26 releases (16 breaking)
|0.17.0||Jan 10, 2023|
|0.16.0||Jul 28, 2022|
|0.15.0||Feb 28, 2022|
|0.14.1||Aug 19, 2020|
|0.2.2||Mar 25, 2015|
#110 in Network programming
146,352 downloads per month
Used in 121 crates (4 directly)
A crate for using libcurl as a backend for HTTP git requests with git2-rs.
This crate provides one public function,
register, which will register
a custom HTTP transport with libcurl for any HTTP requests made by libgit2.
At this time the
register function is unsafe for the same reasons that
git2::transport::register is also unsafe.
It is not recommended to use this crate wherever possible. The current
libcurl backend used,
curl-rust, only supports executing a request in one
method call implying no streaming support. This consequently means that
when a repository is cloned the entire contents of the repo are downloaded
into memory, and then written off to disk by libgit2 afterwards. It
should be possible to alleviate this problem in the future.
NOTE: At this time this crate likely does not support a
git pushoperation, only clones.