From f77ae8816d9255696d06aa1198949a9cfa8e08f8 Mon Sep 17 00:00:00 2001 From: John Gallagher Date: Mon, 16 May 2016 11:36:48 -0500 Subject: [PATCH] Update to latest bitflags crate. Closes #139. --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8fb06d0..ccabe9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ trace = [] [dependencies] time = "~0.1.0" -bitflags = "~0.1" +bitflags = "0.7" libc = "~0.2" clippy = {version = "~0.0.58", optional = true} chrono = { version = "~0.2", optional = true } diff --git a/src/lib.rs b/src/lib.rs index 466ac78..0f69a4c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -536,7 +536,7 @@ bitflags! { #[doc = "Flags for opening SQLite database connections."] #[doc = "See [sqlite3_open_v2](http://www.sqlite.org/c3ref/open.html) for details."] #[repr(C)] - flags OpenFlags: c_int { + pub flags OpenFlags: ::libc::c_int { const SQLITE_OPEN_READ_ONLY = 0x00000001, const SQLITE_OPEN_READ_WRITE = 0x00000002, const SQLITE_OPEN_CREATE = 0x00000004,