From 6b47f7923a431e3be17bcaa83ba9cc63d088bb89 Mon Sep 17 00:00:00 2001 From: Victor Porof Date: Tue, 24 Sep 2019 08:35:12 +0200 Subject: [PATCH] Use relaxed dependency versions (pre 0.12) for better build compat with m-c (#66) Signed-off-by: Victor Porof --- Cargo.toml | 10 +++++----- lmdb-sys/Cargo.toml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3970d00..4a1c417 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,9 +33,9 @@ members = [ ] [dependencies] -bitflags = "1.1.0" -byteorder = "1.3.2" -libc = "0.2.62" +bitflags = "1" +byteorder = "1" +libc = "0.2" # In order to ensure that we test lmdb-rkv in CI against the in-tree version # of lmdb-rkv-sys, we specify the dependency as a path here. @@ -48,8 +48,8 @@ libc = "0.2.62" lmdb-rkv-sys = { path = "./lmdb-sys" } [dev-dependencies] -rand = "0.4.6" -tempdir = "0.3.7" +rand = "0.4" +tempdir = "0.3" [features] default = [] diff --git a/lmdb-sys/Cargo.toml b/lmdb-sys/Cargo.toml index 1a5f7b2..8b7ed6f 100644 --- a/lmdb-sys/Cargo.toml +++ b/lmdb-sys/Cargo.toml @@ -24,12 +24,12 @@ travis-ci = { repository = "mozilla/lmdb-rs" } appveyor = { repository = "mozilla/lmdb-rs" } [dependencies] -libc = "0.2.62" +libc = "0.2" [build-dependencies] -pkg-config = "0.3.15" -cc = "1.0.41" -bindgen = "0.51.0" +pkg-config = "0.3" +cc = "1.0" +bindgen = "0.51" [features] default = []