use libc crate

without.crypto
Dan Burkert 10 years ago
parent 52d663fcf9
commit cf967d1929
  1. 1
      Cargo.toml
  2. 3
      lmdb-sys/Cargo.toml
  3. 1
      lmdb-sys/src/lib.rs
  4. 2
      src/lib.rs

@ -21,6 +21,7 @@ version = "0.4.3"
[dependencies] [dependencies]
bitflags = "*" bitflags = "*"
libc = "*"
[dev-dependencies] [dev-dependencies]
rand = "*" rand = "*"

@ -11,6 +11,9 @@ documentation = "http://rust-ci.org/danburkert/lmdb-rs/doc/lmdb-sys/"
build = "build.rs" build = "build.rs"
[dependencies]
libc = "*"
[build-dependencies] [build-dependencies]
pkg-config = "*" pkg-config = "*"
gcc = "*" gcc = "*"

@ -1,5 +1,4 @@
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
#![feature(libc)]
extern crate libc; extern crate libc;

@ -1,7 +1,7 @@
//! Idiomatic and safe APIs for interacting with the //! Idiomatic and safe APIs for interacting with the
//! [Symas Lightning Memory-Mapped Database (LMDB)](http://symas.com/mdb/). //! [Symas Lightning Memory-Mapped Database (LMDB)](http://symas.com/mdb/).
#![feature(libc, optin_builtin_traits, unsafe_destructor)] #![feature(optin_builtin_traits, unsafe_destructor)]
#![cfg_attr(test, feature(std_misc, test))] #![cfg_attr(test, feature(std_misc, test))]
extern crate libc; extern crate libc;

Loading…
Cancel
Save