Skip to content

Commit 06288a4

Browse files
committed
Add some feature gates
1 parent 201ce72 commit 06288a4

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/target
2-
/Cargo.lock
1+
target
2+
Cargo.lock
33
src/main.rs

libgit2-sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(unstable)]
1+
#![feature(path, io, os, core, collections)]
22

33
extern crate "pkg-config" as pkg_config;
44

src/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,10 @@
6666
//! source `Repository`, to ensure that they do not outlive the repository
6767
//! itself.
6868
69-
#![feature(unsafe_destructor)]
69+
#![feature(unsafe_destructor, hash, std_misc, core, collections, path)]
70+
#![feature(io)]
7071
#![deny(missing_docs)]
7172
#![cfg_attr(test, deny(warnings))]
72-
#![cfg_attr(test, allow(unstable))]
73-
#![allow(unstable)]
7473

7574
extern crate libc;
7675
extern crate url;

0 commit comments

Comments
 (0)