Support Git by default

This commit is contained in:
Ben S 2015-01-27 15:59:22 +00:00
parent 1d0cc329eb
commit f6cbfc7276
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ number_prefix = "0.2.1"
users = "0.2.1"
[features]
default = [ "git" ]
git = [ "git2" ]
[dependencies.git2]

View File

@ -31,3 +31,5 @@ You can sort by **name**, **size**, **ext**, **inode**, or **none**.
## Installation
exa is written in [Rust](http://www.rust-lang.org). You'll have to use the nightly -- I try to keep it up to date with the latest version when possible. Once you have it set up, a simple `cargo build` will pull in all the dependencies and compile exa.
exa depends on [libgit2](https://github.com/alexcrichton/git2-rs) for certain features. If you're unable to compile libgit2, you can opt out of Git support by passing `--no-default-features` to Cargo.