Skip to content

Fix for rust commit 3dcd2157403163789aaf21a9ab3c4d30a7c6494d 'Switch to ... #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 18, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion libgit2-sys/lib.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#![feature(phase)]
#![feature(globs, phase)]
#![allow(non_camel_case_types)]

extern crate libc;
extern crate "libssh2-sys" as libssh2;
#[cfg(unix)] extern crate "openssl-sys" as openssl;
#[cfg(unix)] extern crate "libz-sys" as libz;

pub use git_ref_t::*;
pub use git_branch_t::*;

use libc::{c_int, c_char, c_uint, size_t, c_uchar, c_void, c_ushort};

pub const GIT_OID_RAWSZ: uint = 20;
Expand Down
10 changes: 9 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
//! source `Repository`, to ensure that they do not outlive the repository
//! itself.

#![feature(macro_rules, unsafe_destructor)]
#![feature(globs, macro_rules, unsafe_destructor)]
#![deny(missing_docs)]

extern crate libc;
Expand All @@ -78,6 +78,14 @@ use std::rt;
use std::str;
use std::sync::{Once, ONCE_INIT};

pub use BranchType::*;
pub use ConfigLevel::*;
pub use Direction::*;
pub use ErrorCode::*;
pub use ObjectType::*;
pub use RepositoryState::*;
pub use ResetType::*;

pub use blob::Blob;
pub use branch::{Branch, Branches};
pub use buf::Buf;
Expand Down