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

@ -1,30 +1,20 @@
language: rust language: rust
dist: trusty
sudo: false sudo: false
rust: cache: cargo
- 1.8.0
- nightly
os: os:
- linux - linux
- osx - osx
before_script: rust:
- pip install 'travis-cargo<0.2' --user - 1.8.0
- export PATH=$HOME/.local/bin:$PATH # Linux - stable
- export PATH=$HOME/Library/Python/2.7/bin:$PATH # OS X - nightly
script: script:
- | - cargo build --verbose
travis-cargo build && - if [[ $TRAVIS_RUST_VERSION = nightly* ]]; then
travis-cargo --only nightly test && env RUST_BACKTRACE=1 cargo test --all -v;
travis-cargo bench && fi
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="

@ -8,16 +8,18 @@ license = "Apache-2.0"
description = "Idiomatic and safe LMDB wrapper." description = "Idiomatic and safe LMDB wrapper."
repository = "https://github.com/danburkert/lmdb-rs.git" repository = "https://github.com/danburkert/lmdb-rs.git"
readme = "README.md" readme = "README.md"
documentation = "https://docs.rs/lmdb"
keywords = ["LMDB", "database", "storage-engine", "bindings", "library"] keywords = ["LMDB", "database", "storage-engine", "bindings", "library"]
documentation = "http://danburkert.github.io/lmdb-rs/lmdb/index.html" categories = ["database"]
[dependencies.lmdb-sys] [badges]
path = "lmdb-sys" travis-ci = { repository = "danburkert/lmdb-rs" }
version = "0.6.0" appveyor = { repository = "danburkert/lmdb-rs" }
[dependencies] [dependencies]
bitflags = "0.7" bitflags = "0.7"
libc = "0.2" libc = "0.2"
lmdb-sys = { path = "lmdb-sys" }
[dev-dependencies] [dev-dependencies]
rand = "0.3" 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) [![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) [![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](https://docs.rs/lmdb/badge.svg)](https://docs.rs/lmdb/)
[Documentation](http://danburkert.github.io/lmdb-rs/lmdb/index.html) [![Crate](https://img.shields.io/crates/v/lmdb.svg)](https://crates.io/crates/lmdb)
[Cargo](https://crates.io/crates/lmdb)
# lmdb-rs # lmdb-rs
@ -23,5 +21,5 @@ cargo build
* [x] lmdb-sys. * [x] lmdb-sys.
* [x] Cursors. * [x] Cursors.
* [x] Zero-copy put API. * [x] Zero-copy put API.
* [ ] Nested transactions. * [x] Nested transactions.
* [ ] Database statistics. * [ ] Database statistics.

@ -4,10 +4,13 @@ name = "lmdb-sys"
version = "0.6.0" version = "0.6.0"
authors = ["Dan Burkert <dan@danburkert.com>"] authors = ["Dan Burkert <dan@danburkert.com>"]
license = "Apache-2.0" license = "Apache-2.0"
description = "Rust bindings for liblmdb." description = "Rust bindings for liblmdb."
repository = "https://github.com/danburkert/lmdb-rs.git" repository = "https://github.com/danburkert/lmdb-rs.git"
readme = "../README.md" 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" build = "build.rs"

Loading…
Cancel
Save