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 0 | 2 | 0 | 0 |
| 0.2.4 | 0 | 0 | 2 | 0 | 0 |
| 0.2.3 | 0 | 0 | 2 | 0 | 0 |
| 0.2.2 | 0 | 0 | 2 | 0 | 0 |
| 0.2.1 | 0 | 0 | 2 | 0 | 0 |
| 0.2.0 | 0 | 0 | 2 | 0 | 0 |
| 0.1.14 | 0 | 0 | 2 | 0 | 0 |
| 0.1.13 | 0 | 0 | 2 | 0 | 0 |
| 0.1.12 | 0 | 0 | 2 | 0 | 0 |
| 0.1.11 | 0 | 0 | 2 | 0 | 0 |
| 0.1.10 | 0 | 0 | 2 | 0 | 0 |
| 0.1.9 | 0 | 0 | 2 | 0 | 0 |
| 0.1.8 | 0 | 0 | 2 | 0 | 0 |
| 0.1.7 | 0 | 0 | 2 | 0 | 0 |
| 0.1.6 | 0 | 0 | 2 | 0 | 0 |
| 0.1.5 | 0 | 0 | 2 | 0 | 0 |
| 0.1.4 | 0 | 0 | 2 | 0 | 0 |
| 0.1.3 | 0 | 0 | 2 | 0 | 0 |
| 0.1.2 | 0 | 0 | 2 | 0 | 0 |
| 0.1.1 | 0 | 0 | 2 | 0 | 0 |
| 0.1.0 | 0 | 0 | 2 | 0 | 0 |
| 0.0.1 | 0 | 0 | 2 | 0 | 0 |
0.18.3+1.9.2 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
Apache-2.0 - Apache License 2.0libgit2 bindings for Rust.
cargo add git2
By default, git2 includes support for working with local repositories, but does
not include network support (e.g. cloning remote repositories). If you want to
use features that require network support, you may need the "https" and/or
"ssh" features. If you support user-provided repository URLs, you probably
want to enable both.
cargo add git2 --features https,ssh
git2-rs works with stable Rust, and typically works with the most recent prior stable release as well.
Currently this library requires libgit2 1.9.0 (or newer patch versions). The
source for libgit2 is included in the libgit2-sys crate so there's no need to
pre-install the libgit2 library, the libgit2-sys crate will figure that and/or
build that for you. On the other hand, if an appropriate version of libgit2
is present, git2 will attempt to dynamically link it.
To be more precise, the vendored libgit2 is linked statically if two
conditions both hold:
LIBGIT2_NO_VENDOR=1 is not setvendored-libgit2 is set or b) an
appropriate version of libgit2 cannot be found on the system.In particular, note that the environment variable overrides the Cargo feature.
$ git clone https://github.com/rust-lang/git2-rs
$ cd git2-rs
$ cargo buildRunning tests and handling all of the associated edge cases on every commit proves tedious very quickly. You can use GitHub's automated CI to run the tests on your commit(s) if you do not run them locally.
If the ssh feature is enabled then this library depends
on libssh2 which depends on OpenSSL. To get OpenSSL working follow the
openssl crate's instructions.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in git2-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.