2 releases
0.1.1 | Apr 12, 2022 |
---|---|
0.1.0 | Apr 12, 2022 |
#12 in #libgit2
23KB
219 lines
git2-hyper
hyper binding for libgit2 bindings for Rust
Rust version requirements
1.53.0
How to build
$ git clone https://github.com/henry40408/git2-hyper
$ cd git2-hyper
$ cargo build
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in git2-hyper by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
A crate for using hyper as a backend for HTTP(S) git requests with git2-rs.
This crate provides one public function, register
, which will register
a custom HTTP transport with hyper for any HTTP(S) requests made by libgit2.
At this time the register
function is unsafe for the same reasons that
git2::transport::register
is also unsafe.
NOTE: At this time this crate likely does not support a
git push
operation, only clones.
Dependencies
~13–26MB
~478K SLoC