mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Merge pull request #279 from jgallagher/new-deps
Update to bitflags 0.9.
This commit is contained in:
commit
8c7f7a40a6
@ -29,13 +29,13 @@ limits = []
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
time = "0.1.0"
|
time = "0.1.0"
|
||||||
bitflags = "0.8"
|
bitflags = "0.9"
|
||||||
lru-cache = "0.1.0"
|
lru-cache = "0.1"
|
||||||
chrono = { version = "0.3", optional = true }
|
chrono = { version = "0.3", optional = true }
|
||||||
serde_json = { version = "1.0", optional = true }
|
serde_json = { version = "1.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempdir = "0.3.4"
|
tempdir = "0.3"
|
||||||
lazy_static = "0.2"
|
lazy_static = "0.2"
|
||||||
regex = "0.2"
|
regex = "0.2"
|
||||||
|
|
||||||
|
20
src/lib.rs
20
src/lib.rs
@ -584,16 +584,16 @@ bitflags! {
|
|||||||
#[doc = "Flags for opening SQLite database connections."]
|
#[doc = "Flags for opening SQLite database connections."]
|
||||||
#[doc = "See [sqlite3_open_v2](http://www.sqlite.org/c3ref/open.html) for details."]
|
#[doc = "See [sqlite3_open_v2](http://www.sqlite.org/c3ref/open.html) for details."]
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub flags OpenFlags: ::std::os::raw::c_int {
|
pub struct OpenFlags: ::std::os::raw::c_int {
|
||||||
const SQLITE_OPEN_READ_ONLY = ffi::SQLITE_OPEN_READONLY,
|
const SQLITE_OPEN_READ_ONLY = ffi::SQLITE_OPEN_READONLY;
|
||||||
const SQLITE_OPEN_READ_WRITE = ffi::SQLITE_OPEN_READWRITE,
|
const SQLITE_OPEN_READ_WRITE = ffi::SQLITE_OPEN_READWRITE;
|
||||||
const SQLITE_OPEN_CREATE = ffi::SQLITE_OPEN_CREATE,
|
const SQLITE_OPEN_CREATE = ffi::SQLITE_OPEN_CREATE;
|
||||||
const SQLITE_OPEN_URI = 0x00000040,
|
const SQLITE_OPEN_URI = 0x00000040;
|
||||||
const SQLITE_OPEN_MEMORY = 0x00000080,
|
const SQLITE_OPEN_MEMORY = 0x00000080;
|
||||||
const SQLITE_OPEN_NO_MUTEX = ffi::SQLITE_OPEN_NOMUTEX,
|
const SQLITE_OPEN_NO_MUTEX = ffi::SQLITE_OPEN_NOMUTEX;
|
||||||
const SQLITE_OPEN_FULL_MUTEX = ffi::SQLITE_OPEN_FULLMUTEX,
|
const SQLITE_OPEN_FULL_MUTEX = ffi::SQLITE_OPEN_FULLMUTEX;
|
||||||
const SQLITE_OPEN_SHARED_CACHE = 0x00020000,
|
const SQLITE_OPEN_SHARED_CACHE = 0x00020000;
|
||||||
const SQLITE_OPEN_PRIVATE_CACHE = 0x00040000,
|
const SQLITE_OPEN_PRIVATE_CACHE = 0x00040000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user