Merge pull request #63 from mozilla/toml-updates

Toml updates
without.crypto
Victor Porof 5 years ago committed by GitHub
commit 0810db76b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Cargo.toml
  2. 2
      benches/cursor.rs
  3. 2
      benches/transaction.rs
  4. 12
      lmdb-sys/Cargo.toml
  5. 2
      lmdb-sys/tests/lmdb.rs
  6. 4
      lmdb-sys/tests/simple.rs
  7. 2
      src/lib.rs

@ -1,15 +1,14 @@
[package] [package]
name = "lmdb-rkv" name = "lmdb-rkv"
# NB: When modifying, also modify html_root_url in lib.rs # NB: When modifying, also modify html_root_url in lib.rs
version = "0.12.0" version = "0.12.0"
authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>"] authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>"]
license = "Apache-2.0" license = "Apache-2.0"
description = "Idiomatic and safe LMDB wrapper." 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" repository = "https://github.com/mozilla/lmdb-rs.git"
readme = "README.md" readme = "README.md"
documentation = "https://docs.rs/lmdb-rkv"
keywords = ["LMDB", "database", "storage-engine", "bindings", "library"] keywords = ["LMDB", "database", "storage-engine", "bindings", "library"]
categories = ["database"] categories = ["database"]

@ -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;

@ -1,15 +1,14 @@
[package] [package]
name = "lmdb-rkv-sys" name = "lmdb-rkv-sys"
# NB: When modifying, also modify html_root_url in lib.rs # NB: When modifying, also modify html_root_url in lib.rs
version = "0.9.0" version = "0.9.0"
authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>"] authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>"]
license = "Apache-2.0" license = "Apache-2.0"
description = "Rust bindings for liblmdb." 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" repository = "https://github.com/mozilla/lmdb-rs.git"
readme = "../README.md" readme = "../README.md"
documentation = "https://docs.rs/lmdb-rkv-sys"
keywords = ["LMDB", "database", "storage-engine", "bindings", "library"] keywords = ["LMDB", "database", "storage-engine", "bindings", "library"]
categories = ["database", "external-ffi-bindings"] categories = ["database", "external-ffi-bindings"]
@ -17,6 +16,13 @@ categories = ["database", "external-ffi-bindings"]
# like `cargo-script` instead. # like `cargo-script` instead.
build = "build.rs" build = "build.rs"
[lib]
name = "lmdb_sys"
[badges]
travis-ci = { repository = "mozilla/lmdb-rs" }
appveyor = { repository = "mozilla/lmdb-rs" }
[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