diff --git a/Cargo.toml b/Cargo.toml index aa19b5b..db5ccad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,15 +1,14 @@ [package] - name = "lmdb-rkv" # NB: When modifying, also modify html_root_url in lib.rs version = "0.12.0" authors = ["Dan Burkert ", "Victor Porof "] license = "Apache-2.0" - description = "Idiomatic and safe LMDB wrapper." +documentation = "https://docs.rs/lmdb-rkv" +homepage = "https://github.com/mozilla/lmdb-rs" repository = "https://github.com/mozilla/lmdb-rs.git" readme = "README.md" -documentation = "https://docs.rs/lmdb-rkv" keywords = ["LMDB", "database", "storage-engine", "bindings", "library"] categories = ["database"] diff --git a/benches/cursor.rs b/benches/cursor.rs index 901d701..56d93ee 100644 --- a/benches/cursor.rs +++ b/benches/cursor.rs @@ -1,7 +1,7 @@ #![feature(test)] extern crate lmdb; -extern crate lmdb_rkv_sys as ffi; +extern crate lmdb_sys as ffi; extern crate test; mod utils; diff --git a/benches/transaction.rs b/benches/transaction.rs index 3f08a74..c0a713a 100644 --- a/benches/transaction.rs +++ b/benches/transaction.rs @@ -2,7 +2,7 @@ extern crate libc; extern crate lmdb; -extern crate lmdb_rkv_sys as ffi; +extern crate lmdb_sys as ffi; extern crate rand; extern crate test; diff --git a/lmdb-sys/Cargo.toml b/lmdb-sys/Cargo.toml index 5fe722a..946b7a1 100644 --- a/lmdb-sys/Cargo.toml +++ b/lmdb-sys/Cargo.toml @@ -1,15 +1,14 @@ [package] - name = "lmdb-rkv-sys" # NB: When modifying, also modify html_root_url in lib.rs version = "0.9.0" authors = ["Dan Burkert ", "Victor Porof "] license = "Apache-2.0" - description = "Rust bindings for liblmdb." +documentation = "https://docs.rs/lmdb-rkv-sys" +homepage = "https://github.com/mozilla/lmdb-rs" repository = "https://github.com/mozilla/lmdb-rs.git" readme = "../README.md" -documentation = "https://docs.rs/lmdb-rkv-sys" keywords = ["LMDB", "database", "storage-engine", "bindings", "library"] categories = ["database", "external-ffi-bindings"] @@ -17,6 +16,13 @@ categories = ["database", "external-ffi-bindings"] # like `cargo-script` instead. build = "build.rs" +[lib] +name = "lmdb_sys" + +[badges] +travis-ci = { repository = "mozilla/lmdb-rs" } +appveyor = { repository = "mozilla/lmdb-rs" } + [dependencies] libc = "0.2.62" diff --git a/lmdb-sys/tests/lmdb.rs b/lmdb-sys/tests/lmdb.rs index 460f8b7..2acb97d 100644 --- a/lmdb-sys/tests/lmdb.rs +++ b/lmdb-sys/tests/lmdb.rs @@ -1,4 +1,4 @@ -extern crate lmdb_rkv_sys; +extern crate lmdb_sys; use std::env; use std::path::PathBuf; diff --git a/lmdb-sys/tests/simple.rs b/lmdb-sys/tests/simple.rs index 8e13a01..eb2df05 100644 --- a/lmdb-sys/tests/simple.rs +++ b/lmdb-sys/tests/simple.rs @@ -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::ptr; diff --git a/src/lib.rs b/src/lib.rs index 13deac8..0cec427 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ extern crate byteorder; extern crate libc; -extern crate lmdb_rkv_sys as ffi; +extern crate lmdb_sys as ffi; #[cfg(test)] extern crate tempdir;