Update crate metadata and CI

without.crypto
Dan Burkert 8 years ago
parent 76f000df07
commit f6343a283a
  1. 21
      .appveyor.yml
  2. 30
      .travis.yml
  3. 10
      Cargo.toml
  4. 8
      README.md
  5. 5
      lmdb-sys/Cargo.toml

@ -2,20 +2,23 @@ environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-msvc
#- TARGET: x86_64-pc-windows-gnu
#- TARGET: i686-pc-windows-gnu
- TARGET: x86_64-pc-windows-gnu
MSYS_BITS: 64
- TARGET: i686-pc-windows-gnu
MSYS_BITS: 32
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" -FileName "rust-install.exe"
- ps: .\rust-install.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null
- ps: $env:PATH="$env:PATH;C:\rust\bin"
- rustc -vV
- cargo -vV
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- set PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- if defined MSYS_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS_BITS%\bin
- rustc -V
- cargo -V
build_script:
- git submodule -q update --init
- cargo build -v
- cargo build --target %TARGET% --all -v
test_script:
- SET RUST_BACKTRACE=1
- cargo test -v
- cargo test --target %TARGET% --all -v

@ -1,30 +1,20 @@
language: rust
dist: trusty
sudo: false
rust:
- 1.8.0
- nightly
cache: cargo
os:
- linux
- osx
before_script:
- pip install 'travis-cargo<0.2' --user
- export PATH=$HOME/.local/bin:$PATH # Linux
- export PATH=$HOME/Library/Python/2.7/bin:$PATH # OS X
rust:
- 1.8.0
- stable
- nightly
script:
- |
travis-cargo build &&
travis-cargo --only nightly test &&
travis-cargo bench &&
travis-cargo --only nightly doc
after_success:
- travis-cargo --only nightly doc-upload
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- secure: "BCsYNBS56hCKCMBZFLYDxKk3+UbFkAt+JRpPG9aiQyTVGkVqXNm4jPhiNSc4/JMuxoBVne+EzUrKVgdv3D7jTOx0sPsWEiE/oFK1K+6xusvsA87ZdDBC0hTRMiEHaufgtaGFJNwWW2tLzwlcdzvGUPVGYogao2MAxl1xlpppvso="
- cargo build --verbose
- if [[ $TRAVIS_RUST_VERSION = nightly* ]]; then
env RUST_BACKTRACE=1 cargo test --all -v;
fi

@ -8,16 +8,18 @@ license = "Apache-2.0"
description = "Idiomatic and safe LMDB wrapper."
repository = "https://github.com/danburkert/lmdb-rs.git"
readme = "README.md"
documentation = "https://docs.rs/lmdb"
keywords = ["LMDB", "database", "storage-engine", "bindings", "library"]
documentation = "http://danburkert.github.io/lmdb-rs/lmdb/index.html"
categories = ["database"]
[dependencies.lmdb-sys]
path = "lmdb-sys"
version = "0.6.0"
[badges]
travis-ci = { repository = "danburkert/lmdb-rs" }
appveyor = { repository = "danburkert/lmdb-rs" }
[dependencies]
bitflags = "0.7"
libc = "0.2"
lmdb-sys = { path = "lmdb-sys" }
[dev-dependencies]
rand = "0.3"

@ -1,9 +1,7 @@
[![Build Status](https://travis-ci.org/danburkert/lmdb-rs.svg?branch=master)](https://travis-ci.org/danburkert/lmdb-rs)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/0bw21yfqsrsv3soh/branch/master?svg=true)](https://ci.appveyor.com/project/danburkert/lmdb-rs/branch/master)
[Documentation](http://danburkert.github.io/lmdb-rs/lmdb/index.html)
[Cargo](https://crates.io/crates/lmdb)
[![Documentation](https://docs.rs/lmdb/badge.svg)](https://docs.rs/lmdb/)
[![Crate](https://img.shields.io/crates/v/lmdb.svg)](https://crates.io/crates/lmdb)
# lmdb-rs
@ -23,5 +21,5 @@ cargo build
* [x] lmdb-sys.
* [x] Cursors.
* [x] Zero-copy put API.
* [ ] Nested transactions.
* [x] Nested transactions.
* [ ] Database statistics.

@ -4,10 +4,13 @@ name = "lmdb-sys"
version = "0.6.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
license = "Apache-2.0"
description = "Rust bindings for liblmdb."
repository = "https://github.com/danburkert/lmdb-rs.git"
readme = "../README.md"
documentation = "http://danburkert.github.io/lmdb-rs/lmdb_sys/index.html"
documentation = "https://docs.rs/lmdb-sys"
keywords = ["LMDB", "database", "storage-engine", "bindings", "library"]
categories = ["database", "external-ffi-bindings"]
build = "build.rs"

Loading…
Cancel
Save