Skip to content

Parakleta/git2-rs

This branch is 1 commit ahead of, 993 commits behind rust-lang/git2-rs:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

597aff3 · Mar 15, 2017
Feb 13, 2017
Feb 16, 2017
Mar 13, 2017
Feb 13, 2017
Nov 7, 2016
Jan 29, 2015
Apr 5, 2015
Nov 19, 2016
Jan 26, 2017
Oct 1, 2014
Oct 1, 2014
Jan 25, 2017
Oct 10, 2016

Repository files navigation

git2-rs

Build Status Build Status

Documentation

libgit2 bindings for Rust

[dependencies]
git2 = "0.6"

Building git2-rs

First, you'll need to install CMake. Afterwards, just run:

$ git clone https://github.com/alexcrichton/git2-rs
$ cd git2-rs
$ cargo build

Building on OSX 10.10+

Currently libssh2 requires linking against OpenSSL, and to compile libssh2 it also needs to find the OpenSSL headers. On OSX 10.10+ the OpenSSL headers have been removed, but if you're using Homebrew you can install them via:

brew install openssl

To get this library to pick them up the standard rust-openssl instructions can be used to transitively inform libssh2-sys about where the header files are:

export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib

License

git2-rs is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.

About

libgit2 bindings for Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%