bump bitflags version

without.crypto
Dan Burkert 8 years ago
parent c43a2ee793
commit 473173d14a
  1. 2
      .travis.yml
  2. 2
      Cargo.toml
  3. 6
      src/flags.rs

@ -2,7 +2,7 @@ language: rust
sudo: false sudo: false
rust: rust:
- 1.2.0 - 1.8.0
- nightly - nightly
os: os:

@ -16,7 +16,7 @@ path = "lmdb-sys"
version = "0.5.0" version = "0.5.0"
[dependencies] [dependencies]
bitflags = "0.4" bitflags = "0.7"
libc = "0.2" libc = "0.2"
[dev-dependencies] [dev-dependencies]

@ -4,7 +4,7 @@ use ffi::*;
bitflags! { bitflags! {
#[doc="Environment Options"] #[doc="Environment Options"]
flags EnvironmentFlags: c_uint { pub flags EnvironmentFlags: c_uint {
#[doc="Use a fixed address for the mmap region. This flag must be specified"] #[doc="Use a fixed address for the mmap region. This flag must be specified"]
#[doc="when creating the environment, and is stored persistently in the environment."] #[doc="when creating the environment, and is stored persistently in the environment."]
@ -104,7 +104,7 @@ bitflags! {
bitflags! { bitflags! {
#[doc="Database Options"] #[doc="Database Options"]
flags DatabaseFlags: c_uint { pub flags DatabaseFlags: c_uint {
#[doc="Keys are strings to be compared in reverse order, from the end of the strings"] #[doc="Keys are strings to be compared in reverse order, from the end of the strings"]
#[doc="to the beginning. By default, Keys are treated as strings and compared from"] #[doc="to the beginning. By default, Keys are treated as strings and compared from"]
@ -139,7 +139,7 @@ bitflags! {
bitflags! { bitflags! {
#[doc="Write Options"] #[doc="Write Options"]
flags WriteFlags: c_uint { pub flags WriteFlags: c_uint {
#[doc="Insert the new item only if the key does not already appear in the database."] #[doc="Insert the new item only if the key does not already appear in the database."]
#[doc="The function will return `LmdbError::KeyExist` if the key already appears in the"] #[doc="The function will return `LmdbError::KeyExist` if the key already appears in the"]

Loading…
Cancel
Save