Use a simple lib name for lmdb-rkv-sys, mirroring what lmdb-rkv does

Signed-off-by: Victor Porof <victor.porof@gmail.com>
without.crypto
Victor Porof 5 years ago
parent 472c926059
commit 358f428450
  1. 2
      benches/cursor.rs
  2. 2
      benches/transaction.rs
  3. 3
      lmdb-sys/Cargo.toml
  4. 2
      lmdb-sys/tests/lmdb.rs
  5. 4
      lmdb-sys/tests/simple.rs
  6. 2
      src/lib.rs

@ -1,7 +1,7 @@
#![feature(test)] #![feature(test)]
extern crate lmdb; extern crate lmdb;
extern crate lmdb_rkv_sys as ffi; extern crate lmdb_sys as ffi;
extern crate test; extern crate test;
mod utils; mod utils;

@ -2,7 +2,7 @@
extern crate libc; extern crate libc;
extern crate lmdb; extern crate lmdb;
extern crate lmdb_rkv_sys as ffi; extern crate lmdb_sys as ffi;
extern crate rand; extern crate rand;
extern crate test; extern crate test;

@ -17,6 +17,9 @@ categories = ["database", "external-ffi-bindings"]
# like `cargo-script` instead. # like `cargo-script` instead.
build = "build.rs" build = "build.rs"
[lib]
name = "lmdb_sys"
[dependencies] [dependencies]
libc = "0.2.62" libc = "0.2.62"

@ -1,4 +1,4 @@
extern crate lmdb_rkv_sys; extern crate lmdb_sys;
use std::env; use std::env;
use std::path::PathBuf; use std::path::PathBuf;

@ -1,6 +1,6 @@
extern crate lmdb_rkv_sys; extern crate lmdb_sys;
use lmdb_rkv_sys::*; use lmdb_sys::*;
use std::ffi::{c_void, CString}; use std::ffi::{c_void, CString};
use std::ptr; use std::ptr;

@ -6,7 +6,7 @@
extern crate byteorder; extern crate byteorder;
extern crate libc; extern crate libc;
extern crate lmdb_rkv_sys as ffi; extern crate lmdb_sys as ffi;
#[cfg(test)] #[cfg(test)]
extern crate tempdir; extern crate tempdir;

Loading…
Cancel
Save