소스 검색

Support Git by default

Ben S 11 년 전
부모
커밋
f6cbfc7276
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Cargo.toml
  2. 2 0
      README.md

+ 1 - 0
Cargo.toml

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

+ 2 - 0
README.md

@@ -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.